[PHP-DOC] cvs: phpdoc /en/functions imap.xml

2001-02-27 Thread Dan Kalowsky

kalowskyTue Feb 27 17:01:42 2001 EDT

  Modified files:  
/phpdoc/en/functionsimap.xml 
  Log:
  Added in a bit of documentation for the imap_get_quota and imap_set_quota functions. 
  Please review, revise, and comment on.  
  
  
  
Index: phpdoc/en/functions/imap.xml
diff -u phpdoc/en/functions/imap.xml:1.31 phpdoc/en/functions/imap.xml:1.32
--- phpdoc/en/functions/imap.xml:1.31   Sat Jan 20 13:08:27 2001
+++ phpdoc/en/functions/imap.xmlTue Feb 27 17:01:42 2001
@@ -1046,6 +1046,63 @@

   
 
+  
+   
+imap_get_quota
+
+ Retrieve the quota level settings, and usage statics per mailbox
+
+   
+   
+Description
+
+ 
+  array imap_get_quota
+  int imap_stream
+  string quota_root
+ 
+
+
+ Returns an array with integer values limit and usage for the given 
+ mailbox.  The value of limit represents the total amount of space
+ allowed for this mailbox.  The usage value represents the mailboxes
+ current level of capacity.  Will return FALSE in the case of failure.
+
+
+ This function is currently only available to users of the c-client2000
+ library.
+
+
+ imap_stream should be the value returned from
+ an imap_status call.  This stream is required to
+ be opened as the mail admin user for the quota function to work.
+ quota_root should normally be in the form of
+ user.name where name is the mailbox you wish to retrieve information
+ about.
+
+
+ 
+  imap_get_quota example
+  
+$mbox = imap_open("{your.imap.host}","mailadmin","password",OP_HALFOPEN)
+  || die("can't connect: ".imap_last_error());
+ 
+$quota_value = imap_get_quota($mbox, "user.kalowsky");
+if(is_array($quota_value)) {
+print "Usage level is: " . $quota_value['usage'];
+print "Limit level is: " . $quota_value['limit'];
+} 
+ 
+imap_close($mbox); 
+  
+ 
+
+
+ See also imap_open, imap_set_quota.
+
+   
+  
+
   

 imap_listsubscribed
@@ -1451,6 +1508,64 @@
   
 
  Returns true on success and false on error.
+
+   
+  
+
+  
+   
+imap_set_quota
+Sets a quota for a given mailbox
+   
+   
+Description
+
+ 
+  int imap_set_quota
+  int imap_stream
+  string quota_root
+  int quota_limit
+ 
+
+  
+ Sets an upper limit quota on a per mailbox basis.  This function
+ requires the imap_stream to have been opened
+ as the mail administrator account.  It will not work if opened as
+ any other user. 
+
+
+ This function is currently only available to users of the c-client2000
+ library.
+
+
+imap_stream is the stream pointer returned from
+a imap_open call.  This stream must be opened as
+the mail administrator, other wise this function will fail.
+quota_root is the mailbox to have a quota set.  This 
+should follow the IMAP standard format for a mailbox, 'user.name'.
+quota_limit is the maximum size (in KB) for 
+the quota_root. 
+
+
+ Returns true on success and false on error.
+
+
+ 
+  imap_set_quota example
+  
+$mbox = imap_open ("{your.imap.host:143}", "mailadmin", "password");
+
+if(!imap_set_quota($mbox, "user.kalowsky", 3000)) {
+   print "Error in setting quota\n";
+   return;
+}
+
+imap_close($mbox);
+  
+ 
+
+
+ See also imap_open, imap_set_quota.
 

   





Re: [PHP-DOC] What happened to phpweb/manual?

2001-02-27 Thread eschmid+sic

On Wed, Feb 28, 2001 at 01:44:05AM +0100, Mark Kronsbein wrote:
> 
> 
> [EMAIL PROTECTED] wrote:
> > Oh I haven't seen any deledeads. But anyway only *.xml files should be
> > found in the german tree. You must do something else wrong.
> 
> Not the .xml and not in phpdoc/ I am talking about
> phpweb/manual/de/
>  
> > For German .php files ask Wolfgang or call the php-center. If you don't
> > get the needed files I will ask Jade.
> 
> Ill probably need these Files once a Day for a new Project ;)

Then checkout phpweb with rsync. But I don't actually know if you can
rsyncing the German manual. But this shouldn't be an issue for you :)

-Egon

-- 
http://www.linuxtag.de/
http://php.net/books.php 
http://www.concert-band.de/
http://www.php-buch.de/



Re: [PHP-DOC] What happened to phpweb/manual?

2001-02-27 Thread Mark Kronsbein



[EMAIL PROTECTED] wrote:
> Oh I haven't seen any deledeads. But anyway only *.xml files should be
> found in the german tree. You must do something else wrong.

Not the .xml and not in phpdoc/ I am talking about
phpweb/manual/de/
 
> For German .php files ask Wolfgang or call the php-center. If you don't
> get the needed files I will ask Jade.

Ill probably need these Files once a Day for a new Project ;)

Mark

-- 
German Gabber Network @ http://www.gabber.de
Infos und Tips zu PHP http://www.php-homepage.de



Re: [PHP-DOC] What happened to phpweb/manual?

2001-02-27 Thread eschmid+sic

On Wed, Feb 28, 2001 at 01:17:05AM +0100, Mark Kronsbein wrote:

> I just wanted to start a new Checkout of the German Manual.
> I need the .php Files, so i checked out phpweb/manual/de.
> But: All Directories are empty...
> 
> So: what happended to theses Files?

Oh I haven't seen any deledeads. But anyway only *.xml files should be
found in the german tree. You must do something else wrong.

For German .php files ask Wolfgang or call the php-center. If you don't
get the needed files I will ask Jade.

-Egon 

-- 
http://www.linuxtag.de/
http://php.net/books.php 
http://www.concert-band.de/
http://www.php-buch.de/



[PHP-DOC] What happened to phpweb/manual?

2001-02-27 Thread Mark Kronsbein

Hi,

I just wanted to start a new Checkout of the German Manual.
I need the .php Files, so i checked out phpweb/manual/de.
But: All Directories are empty...

So: what happended to theses Files?

Mark

-- 
German Gabber Network @ http://www.gabber.de
Infos und Tips zu PHP http://www.php-homepage.de



Re: [PHP-DOC] PHP reserved words

2001-02-27 Thread Hojtsy Gabor

> I've compiled a list of PHP reserved words, and I'd like to
> commit it on the CVS tree.
> This is NOT the function list, but all those words used in
> PHP syntax, such as "for", "foreach", "return" and "class"..etc
> (zum Beispiel).
> 
> All those notion are dispatched in differents files, and it is
> good to have them gathered. I made it an appendix.

Good idea. The appendix is a good place for this...

Hojtsy Gabor [Goba]

http://weblabor.hu/ :|: http://hu.php.net/ :|: http://webmester.hix.com/




Re: [PHP-DOC] updating IMAP documentation

2001-02-27 Thread Derick Rethans

On Tue, 27 Feb 2001, Dan Kalowsky wrote:

> Just wondering which files for sure should be edited.
> funclist.txt ?
> funcsummary.txt ?
> en/functions/imap.xml ?

Only the last one, the other two are generated

Derick Rethans

-
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
 SRM: Site Resource Manager - www.vl-srm.net
-




Re: [PHP-DOC] updating IMAP documentation

2001-02-27 Thread Egon Schmid (@work)

Dan Kalowsky wrote:
> 
> I've added two functions (and a third on the way) to the IMAP tools:
> 
> imap_set_quota
> imap_get_quota
> (and soon) imap_get_quotaroot
> 
> Just wondering which files for sure should be edited.
> funclist.txt ?
> funcsummary.txt ?
> en/functions/imap.xml ?

Only en/functions/imap.xml. funlist.txt and funcsummary.txt are
generated files.

-Egon

-- 
SIX Offene Systeme GmbH   ·Stuttgart  -  Berlin 
Sielminger Straße 63   ·D-70771 Leinfelden-Echterdingen
Fon +49 711 9909164 · Fax +49 711 9909199 http://www.six.de
Besuchen Sie uns auf der CeBIT 2001,  Halle 6,  Stand F62/4



[PHP-DOC] updating IMAP documentation

2001-02-27 Thread Dan Kalowsky

I've added two functions (and a third on the way) to the IMAP tools:

imap_set_quota
imap_get_quota
(and soon) imap_get_quotaroot

Just wondering which files for sure should be edited.
funclist.txt ?
funcsummary.txt ?
en/functions/imap.xml ?

Anything else?


-- 
Dan Kalowsky  "Tonight I think I'll walk alone, 
Worldgate Communications   I'll find my soul as I go home."
Software Engineer - TICS Group  - Temptation



Re: [PHP-DOC] PHP reserved words

2001-02-27 Thread Daniel Beckham

I think it's a great idea.  Most language docs have a list of reserved words
just as a routine thing...

Daniel

- Original Message -
From: "Damien Seguy" <[EMAIL PROTECTED]>
To: "phpdoc" <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 6:08 AM
Subject: [PHP-DOC] PHP reserved words


> Hi
>
> I've compiled a list of PHP reserved words, and I'd like to
> commit it on the CVS tree.
> This is NOT the function list, but all those words used in
> PHP syntax, such as "for", "foreach", "return" and "class"..etc
> (zum Beispiel).
>
> All those notion are dispatched in differents files, and it is
> good to have them gathered. I made it an appendix.
>
> Any opinion?
>
> Best regards,
> Damien Seguy
> 
> http://www.nexen.net/
> l'hebergement dynamique !
> Docs PHP/MySQL en Francais, scripts
> 
>
>
>
>




[PHP-DOC] cvs: phpdoc /en/functions mcal.xml

2001-02-27 Thread Sam Masiello

smasiello   Tue Feb 27 05:49:39 2001 EDT

  Modified files:  
/phpdoc/en/functionsmcal.xml 
  Log:
  fixed function prototype and added possible return values for mcal_day_of_week
  PR:
  Submitted by:
  Reviewed by:
  Obtained from:
  
  
Index: phpdoc/en/functions/mcal.xml
diff -u phpdoc/en/functions/mcal.xml:1.15 phpdoc/en/functions/mcal.xml:1.16
--- phpdoc/en/functions/mcal.xml:1.15   Tue Feb 20 10:28:34 2001
+++ phpdoc/en/functions/mcal.xmlTue Feb 27 05:49:38 2001
@@ -864,7 +864,7 @@
 Description
 
  
-  int mcal_
+  int mcal_day_of_week
   int year
   int month
   int day
@@ -873,6 +873,8 @@
   
  mcal_day_of_week returns the day of the week
  of the given date.
+
+Possible return values range from 0 for Sunday through 6 for Saturday. 
 

   





[PHP-DOC] PHP reserved words

2001-02-27 Thread Damien Seguy

Hi

I've compiled a list of PHP reserved words, and I'd like to
commit it on the CVS tree.
This is NOT the function list, but all those words used in
PHP syntax, such as "for", "foreach", "return" and "class"..etc
(zum Beispiel).

All those notion are dispatched in differents files, and it is
good to have them gathered. I made it an appendix.

Any opinion?

Best regards,
Damien Seguy

http://www.nexen.net/
l'hebergement dynamique !
Docs PHP/MySQL en Francais, scripts






[PHP-DOC] cvs: phpdoc /fr/functions bzip2.xml ibase.xml

2001-02-27 Thread Damien Seguy

damsTue Feb 27 03:58:14 2001 EDT

  Modified files:  
/phpdoc/fr/functionsibase.xml bzip2.xml 
  Log:
  and -> et
  

Index: phpdoc/fr/functions/ibase.xml
diff -u phpdoc/fr/functions/ibase.xml:1.5 phpdoc/fr/functions/ibase.xml:1.6
--- phpdoc/fr/functions/ibase.xml:1.5   Wed Feb  7 01:19:12 2001
+++ phpdoc/fr/functions/ibase.xml   Tue Feb 27 03:58:13 2001
@@ -558,20 +558,20 @@
 
 
  Fixe le format des colonnes de type dates, heure et timestamp,
- retournées par les requêtes. En interne, les colonnes sont 
formatées
- par la fonction C strftime() : reportez vous à sa documentation
- pour connaître la structure de la chaîne de format.
- columntype est une des constantes suivantes :
- IBASE_TIMESTAMP, IBASE_DATE and IBASE_TIME. Si il est omis,
- la valeur par défaut est IBASE_TIMESTAMP, pour compatibilité
- ascendante.
+ retournées par les requêtes. En interne, les colonnes 
+ sont formatées par la fonction C strftime() : reportez-vous
+ à sa documentation pour connaître la structure de la 
+ chaîne de format. columntype est une 
+ des constantes suivantes : IBASE_TIMESTAMP, IBASE_DATE ou IBASE_TIME. 
+ Si elle est omise, la valeur par défaut est IBASE_TIMESTAMP, 
+ pour compatibilité ascendante.
  
   
 
+?>
   
  
 
Index: phpdoc/fr/functions/bzip2.xml
diff -u phpdoc/fr/functions/bzip2.xml:1.5 phpdoc/fr/functions/bzip2.xml:1.6
--- phpdoc/fr/functions/bzip2.xml:1.5   Mon Feb 26 03:10:50 2001
+++ phpdoc/fr/functions/bzip2.xml   Tue Feb 27 03:58:13 2001
@@ -1 +1 @@
-   Compression Bzip2  
Bzip2 Ce module utilise les 
fonctions de la librairie bzip2, de Julian Seward 
pourécrire et lire des fichier bzip2 (.bz2) de manière transparente. 
 Le support bzip2 par PHP n'est pas 
activé pardéfaut. Vous devez utiliser l'option de configuration
--with-bz2[=DIR] lors de 
la compilation de PHP pour l'activer. Ce module requiert la librairie
bzip2/libbzip2, version >= 1.0.x.  
Exemple de compression bzip2 Cet exemple ouvre un fichier 
temporaire, et écrit une ligne de test, puis il en affiche le contenu.
 Exemple avec bzip2 
   
bzcloseFerme un fichier bzip2   
   Description 
  int bzclose  
int bz 
 bzclose ferme le fichier bzip2  
représenté par le pointeur bz.
 bzclose retourne TRUE en cas de 
succès, et FALSE sinon. Le pointeur 
de fichier bz doit être valide, et avoir 
été ouvert avec bzopen. 
Voir aussi bzopen.   
   bzcompress
Compresse une chaîne avec bzip2  
Description   
string bzcompress  string 
source  int   
blocksize
intworkfactor  
  
bzcompress compresse la chaîne  
source et retourne les données ainsi encodée. 
Le paramètre optionnel 
blocksize spécifie la taille de bloc utilisé 
durant la compression, et doit être un nombre de 1 à 9, sachant que 9 
représente la meilleure compression, mais qu'elle utilise plus de ressource 
pour ce faire. blocksize vaut par défaut 4.
 Le paramètre optionnel workfactor 
contrôle le comportement de la compression dans les pires cas de 
données hautement répétitives. Cette valeur peut aller de 0 
à 250 (0 est une valeur spéciale, et 30 la valeur par 
défaut). En dehors de workfactor, le résultat 
sera le même.   Exemple avec 
bzcompress     
 Voir aussi bzdecompress.
  
bzdecompressDécompresse une 
chaîne bzip2  
Description   string 
bzdecompress  string 
source  int   
small   
 bzdecompress 
décompresse la chaîne  source, en supposant 
qu'elle a été compressée avec bzip2, puis la retourne. Si le 
paramètre optionnel small vaut 
TRUE, un autre algorithme de décompression sera 
utilisé : il consomme moins de mémoire (le maximum demandé 
tombe autour de  2300 ko), mais fonctionne globalement à la moitié 
de  la vitesse.  Reportez-vous à la  documentation bzip2 pour plus de  détails sur 
cette fonctionnalité.   Exe

[PHP-DOC] cvs: phpdoc /fr/language constants.xml control-structures.xml functions.xml variables.xml

2001-02-27 Thread Damien Seguy

damsTue Feb 27 03:57:41 2001 EDT

  Modified files:  
/phpdoc/fr/language control-structures.xml functions.xml 
variables.xml constants.xml 
  Log:
  Added minor examples translation.
  Corrected a few typos
  

Index: phpdoc/fr/language/control-structures.xml
diff -u phpdoc/fr/language/control-structures.xml:1.8 
phpdoc/fr/language/control-structures.xml:1.9
--- phpdoc/fr/language/control-structures.xml:1.8   Mon Feb 26 03:11:18 2001
+++ phpdoc/fr/language/control-structures.xml   Tue Feb 27 03:57:41 2001
@@ -29,16 +29,16 @@
 


- Comme nous l'avons vu dans le paragraphe consacré aux expressions,
- expr est évaluée à
- sa vraie valeur. Si l'expression expr est
- TRUE, PHP exécutera l'instruction et si elle
- est FALSE, l'instruction sera ignorée.
+Comme nous l'avons vu dans le paragraphe consacré aux expressions,
+expr est évaluée à
+sa vraie valeur. Si l'expression expr est
+TRUE, PHP exécutera l'instruction et si elle
+est FALSE, l'instruction sera ignorée.


- L'exemple suivant affiche la phrase a est plus grand
- que b si $a est plus grand
- que $b:
+L'exemple suivant affiche la phrase a est plus grand
+que b si $a est plus grand
+que $b:
 
  
 
  
 
-  Les instructions après le else ne sont
-  exécutées que si l'expression du if
-  est FALSE, et si elle n'est pas suivi par l'expression
-  elseif.
+Les instructions après le else ne sont
+exécutées que si l'expression du if
+est FALSE, et si elle n'est pas suivi par l'expression
+elseif.

   
   
@@ -156,15 +156,15 @@
   
Syntaxe alternative

-  Le PHP propose une autre manière de rassembler des
-  instructions à l'intérieur d'un bloc, pour les
-  fonctions de contrôle if,
-  while, for, et
-  switch. Dans chaque cas, le principe
-  est de remplacer l'accolade d'ouverture par deux points (:)
-  et l'accolade de fermeture par, respectivement,
-  endif;, endwhile;,
-  endfor;, ou endswitch;.
+Le PHP propose une autre manière de rassembler des
+instructions à l'intérieur d'un bloc, pour les
+fonctions de contrôle if,
+while, for, et
+switch. Dans chaque cas, le principe
+est de remplacer l'accolade d'ouverture par deux points (:)
+et l'accolade de fermeture par, respectivement,
+endif;, endwhile;,
+endfor;, ou endswitch;.
 
  
 
@@ -357,35 +357,35 @@
 


- La première expression (expr1) est
- évaluée (exécutée), quoi qu'il arrive au
- début de la boucle.
+La première expression (expr1) est
+évaluée (exécutée), quoi qu'il arrive au
+début de la boucle.


- Au début de chaque itération, l'expression
- expr2 est évaluée.
- Si l'évaluation vaut TRUE, la boucle
- continue et l'instruction est exécutée. Si
- l'évaluation vaut FALSE,
- l'exécution de la boucle s'arrête.
+Au début de chaque itération, l'expression
+expr2 est évaluée.
+Si l'évaluation vaut TRUE, la boucle
+continue et l'instruction est exécutée. Si
+l'évaluation vaut FALSE,
+l'exécution de la boucle s'arrête.


- A la fin de chaque itération, l'expression
- expr3 est évaluée
- (exécutée).
+A la fin de chaque itération, l'expression
+expr3 est

[PHP-DOC] cvs: phpdoc /fr/chapters install.xml

2001-02-27 Thread Damien Seguy

damsTue Feb 27 03:56:02 2001 EDT

  Modified files:  
/phpdoc/fr/chapters install.xml 
  Log:
  Translated some forgotten paragraphs
  
Index: phpdoc/fr/chapters/install.xml
diff -u phpdoc/fr/chapters/install.xml:1.17 phpdoc/fr/chapters/install.xml:1.18
--- phpdoc/fr/chapters/install.xml:1.17 Tue Feb 27 02:04:33 2001
+++ phpdoc/fr/chapters/install.xml  Tue Feb 27 03:56:02 2001
@@ -938,16 +938,18 @@
 
 
  
-  PHP 3, PHP 4: Includes support for an arbitrary custom ODBC
-  library.  The parameter is the base directory and defaults to
+  PHP 3, PHP 4: Inclus le support ODBC, avec une librairie tierce.
+  Le paramètre DIR est le nom du dossier d'installation de celle
+  librairie. Par défaut, il vaut 
   /usr/local.
  
  
   Cette option implique qus vous avez défini CUSTOM_ODBC_LIBS
-  lorsque vous éxécutez le script de configuration. Vous devez aussi
-  avoir un entête odbc.h valide dans vos dossiers d'inclusion.
-  Si vous n'en avez pas, créez le, et ajoutez y vos entêtes 
spécifiques.
-  Votre entête peut aussi réclamer d'autres définitions, 
surtout s'il
+  lorsque vous éxécutez le script de configuration. 
+  Vous devez aussi avoir un entête odbc.h valide dans vos 
+  dossiers d'inclusion. Si vous n'en avez pas, créez le, et 
+  ajoutez-y vos entêtes spécifiques. Votre entête peut 
+  aussi réclamer d'autres définitions, surtout s'il
   est multi-plate-forme. Définissez les dans CFLAGS.
  
  
@@ -2660,7 +2662,7 @@
 
  L'installeur Windows de PHP disponible depuis les pages de
  téléchargement, installe la version
- CGI de PHP, et configure les serveurs web IIS, PWS, and Xitami.
+ CGI de PHP, et configure les serveurs web IIS, PWS, et Xitami.
 
 
  Installez votre serveur HTTP favori sur votre
@@ -3938,7 +3940,7 @@
   
Installation OmniHTTPd

-This section contains notes and hints specific to OmniHTTPd.
+Cette section contient des notes et conseils spécifiques à 
+OmniHTTPd.


 OmniHTTPd 2.0b1 et plus récent pour Windows





[PHP-DOC] NULL never defined..

2001-02-27 Thread Damien Seguy

Hi

NULL is used in different part of the doc, usually
in examples, but it is never defined, nor noted.

Is it obsolete value, or does this still exist?
If it does, I think we should add it in the constant.xml file.
If it doesn't, some examples are to be modified.

Is it NULL == 0?

Best regards,
Damien Seguy

http://www.nexen.net/
l'hebergement dynamique !
Docs PHP/MySQL en Francais, scripts






[PHP-DOC] cvs: phpdoc /fr/chapters install.xml

2001-02-27 Thread Jouni Ahto

jah Tue Feb 27 02:04:34 2001 EDT

  Modified files:  
/phpdoc/fr/chapters install.xml 
  Log:
  
  Removed some (probably) left-over chars.
  
  
Index: phpdoc/fr/chapters/install.xml
diff -u phpdoc/fr/chapters/install.xml:1.16 phpdoc/fr/chapters/install.xml:1.17
--- phpdoc/fr/chapters/install.xml:1.16 Mon Feb 26 03:12:02 2001
+++ phpdoc/fr/chapters/install.xml  Tue Feb 27 02:04:33 2001
@@ -2542,7 +2542,7 @@
 PHP 3, PHP 4 : Inclus le support shmop.

   
- >
+