[PHP-DOC] cvs: phpdoc /en/chapters config.xml

2001-04-02 Thread Torben Wilson

torben  Mon Apr  2 22:22:28 2001 EDT

  Modified files:  
/phpdoc/en/chapters config.xml 
  Log:
  
  
  Typo fix.
  
  
Index: phpdoc/en/chapters/config.xml
diff -u phpdoc/en/chapters/config.xml:1.11 phpdoc/en/chapters/config.xml:1.12
--- phpdoc/en/chapters/config.xml:1.11  Thu Dec 14 13:49:15 2000
+++ phpdoc/en/chapters/config.xml   Mon Apr  2 22:22:28 2001
@@ -524,8 +524,8 @@



-Tells whether the short form (of
-PHP's open tag should be allowed.  If you want to use PHP in
+Tells whether the short form ()
+of PHP's open tag should be allowed.  If you want to use PHP in
 combination with XML, you have to disable this option.  If
 disabled, you must use the long form of the open tag
 ().





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

2001-04-02 Thread Torben Wilson

torben  Mon Apr  2 20:30:42 2001 EDT

  Modified files:  
/phpdoc/en/functionsuodbc.xml 
  Log:
  
  Corrected return types for odbc_error() and odbc_errormsg().
  
  
Index: phpdoc/en/functions/uodbc.xml
diff -u phpdoc/en/functions/uodbc.xml:1.14 phpdoc/en/functions/uodbc.xml:1.15
--- phpdoc/en/functions/uodbc.xml:1.14  Mon Mar 12 10:17:40 2001
+++ phpdoc/en/functions/uodbc.xml   Mon Apr  2 20:30:42 2001
@@ -380,7 +380,7 @@
 Description
 
  
-  int odbc_error
+  string odbc_error
   int 
connection_id
  
 
@@ -406,7 +406,7 @@
 Description
 
  
-  int odbc_errormsg
+  string odbc_errormsg
   int 
connection_id
  
 





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

2001-04-02 Thread Wez Furlong

wez Mon Apr  2 16:15:03 2001 EDT

  Modified files:  
/phpdoc/en/functionsopenssl.xml 
  Log:
  Added docs for new S/MIME functions plus more flexible keys/certs parameters.
  
  

Index: phpdoc/en/functions/openssl.xml
diff -u phpdoc/en/functions/openssl.xml:1.3 phpdoc/en/functions/openssl.xml:1.4
--- phpdoc/en/functions/openssl.xml:1.3 Thu Mar 29 07:16:44 2001
+++ phpdoc/en/functions/openssl.xml Mon Apr  2 16:15:03 2001
@@ -2,6 +2,8 @@
   OpenSSL functions
   OpenSSL
   
+  
+  Introduction
   
This module uses the functions of OpenSSL for generation and verification
@@ -10,11 +12,205 @@
with also work with OpenSSL >= 0.9.5.
   
   
+   New for dev/CVS versions of PHP is support for S/MIME email
+   signing/verification and encryption/decryption.  Also, it is now possible
+   to specify keys/certs in a vareity of ways that should help make your PHP
+   code easier to write.
+   These features will most likely make it into PHP 4.0.6.
+   Please keep in mind that this extension is still considered
+   experimental!
+  
+  
OpenSSL offers many features that this module currently doesn't support.
Some of these may be added in the future.
   
+  
+  
+  Key/Certficate parameters
+  
+   Quite a few of the openssl functions require a key or a certificate
+   parameter.  PHP 4.0.5 and earlier have to use a key or certificate resource
+   returned by one of the openssl_get_xxx functions. Later versions may use
+   one of the following methods:
+   
+
+ 
+  Certificates
+  
+   An X.509 resource returned from
+   openssl_x509_read
+   A string having the format
+   file://path/to/cert.pem; the named file must
+   contain a PEM encoded certificate
+   A string containing the content of a certificate,
+   PEM encoded
+  
+ 
+
+
+ 
+  Public/Private Keys
+  
+   A key resource returned from
+   openssl_get_publickey or
+   openssl_get_privatekey
+   For public keys only: an X.509
+   resource
+   A string having the format
+   file://path/to/file.pem - the named file must
+   contain a PEM encoded certificate/private key (it may contain
+ both)
+   A string containing the content of a
+   certificate/key, PEM encoded
+   For private keys, you may also use the syntax
+   array($key, $passphrase) where $key represents a
+   key specified using the file:// or textual content notation above, and
+   $passphrase represents a string containing the passphrase for that
+   private key
+  
+  
+
+   
+  
+  
+  
+  Certificate Verification
+  
+   When calling a function that will verify a signature/certificate, the
+   cainfo parameter is an array containing file and
+   directory names the specify the locations of trusted CA files.  If a
+   directory is specified, then it must be a correctly formed hashed directory
+   as the openssl command would use.
+  
+   
+  
+   PKCS7 Flags/Constants
+   
+The S/MIME functions make use of flags which are specified using a
+bitfield which can include one or more of the following values:
+
+
+ PKCS7 CONSTANTS
+  
+   
+
+ Constant
+ Description
+
+   
+   
+
+ PKCS7_TEXT
+ adds text/plain content type headers to encrypted/signed
+ message. If decrypting or verifying, it strips those headers from
+ the output - if the decrypted or verified message is not of MIME type
+ text/plain then an error will occur.
+
+
+ PKCS7_BINARY
+ normally the input message is converted to "canonical" format
+ which is effectlively using CR and LF as end of line: as required by
+ the S/MIME specification.  When this options is present, no
+ translation occurs.  This is useful when handling binary data which
+ may not be in MIME format.
+
+
+ PKCS7_NOINTERN
+ when verifying a message, certificates (if
+   any) included in the message are normally searched for the
+   signing certificate. With this option only the
+   certificates specified in the extracerts
+   parameter of openssl_pkcs7_verify are
+   used.  The supplied certificates can still be used as
+   untrusted CAs however.
+ 
+
+
+ PKCS7_NOVERIFY
+ do not verify the signers certificate of a signed
+ message.
+
+
+ PKCS7_NOCHAIN
+ do not chain verification of signers certificates: that is
+ don't use the certificates in the signed message as untrusted CAs.
+ 
+
+
+ PKCS7_NOCERTS
+ when signing a message the signer's certificate is normally
+ included - with this option it is excluded.  This will reduce the
+ size of the signed message but the verifier 

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

2001-04-02 Thread Damien Seguy

damsMon Apr  2 10:57:36 2001 EDT

  Added files: 
/phpdoc/fr/functionsming.xml 
  Log:
  Translated in French.Should be translatable, but wait for another week .
  


Index: phpdoc/fr/functions/ming.xml
+++ phpdoc/fr/functions/ming.xml
 
  Fonctions Ming pour Flash
  Ming (Flash)
  
   
Introduction

 Ming est une librairie open-source (LGPL) qui vous permet de 
 créer des animations au format Flash. Ming supporte toutes les
 fonctionnalités de Flash 4 : les formes (shapes), les gradients,
 les images bitmaps (JPEG et PNG), les morphing (transformations
 d'une forme en une autre), les textes, actions, sprites (mini animations),
 le streaming MP3 et les transformations de couleurs. Le seul ajout futur
 est celui des événements sons.


 Ming n'est pas un acronyme.


 Notez que toutes les distances spécifiées (longeurs, distances, 
 tailles...) sont en "twips", c'est à dire 20 unités par pixels. 
 C'est plus ou moins arbitraire, car le lecteur Flash fait une
 mise à l'échelle avec les valeurs qui lui sont fournis dans la 
 balise embed, ou la frame courante si la balise embed n'est pas
 utilisée.


 Ming propose de nombreux avantages par rapport à l'extension swf.
 Vous pouvez utiliser Ming sur tous les OS où vous pouvez compiler
 le code, tandis que swf est limité à Windows. Ming vous 
évite
 la déconcertante complexité du format SWF, en transformant les
 éléments des animations en objets PHP. Enfin, Ming est toujours
 en cours de développement et surveillé par son auteur : si vous
 souhaitez une nouvelle fonctionnalité, dites le lui : 
 mailto:&email.ming;">&email.ming;.


 Ming et tous les objets cités ont été ajouté en PHP 
4.0.5.

   
   
   
Installation

 Pour utiliser Ming avec PHP, vous devez d'abord installer la 
 librairy Ming. Le code source et les instructions d'installation
 sont disponible sur la page d'accueil de Ming : 
 &url.ming;, avec des exemples
 un tutorial et l'actualité Ming.


 Téléchargez l'archive Ming. Décompressez la et allez dans
 le dossier Ming. Faites "make", puis "make install".


 Cela va compiler le fichier libming.so et
 l'installer dans /usr/lib/, et copier
 ming.h into /usr/include/.
 Editez la ligne PREFIX= dans le fichier
 Makefile pour indiquer votre dossier
 d'installation. 


 Compilation CGI avec PHP (Unix)
 
  
   mkdir /ext/ming 
   cp php_ext/* /ext/ming 
   cd  
   ./buildconf 
   ./configure --with-ming  
   Compilez et installez PHP comme d'habitude.
   Redémarrez votre serveur web si nécessaire.
  
 


 Compilation en module avec PHP (Unix)
 
  téléchargez php_ming.so.gz. 
  Décompressez le et copiez le dans votre dossier de modules
  PHP (vous pouvez trouver votre dossier de module PHP
  en utilisant la commande php-config --extension-dir).
  Ensuite, ajoutez la ligne extension=php_ming.so
  dans votre fichier php.ini, ou bien ajoutez
  dl('php_ming.so'); en haut de tous vos scripts
  Ming.
 

   
   
Comment utiliser Ming

 Ming introduit 13 objet en PHP. Pour les utilisez, vous devez être 
 familez avec les objets.


 
  
   swfmovie.
  
 
 
  
   swfshape.
  
 
 
  
   swfdisplayitem.
  
 
 
  
   swfgradient.
  
 
 
  
   swfbitmap.
  
 
 
  
   swffill.
  
 
 
  
   swfmorph.
  
 
 
  
   swftext.
  
 
 
  
   swffont.
  
 
 
  
   swftextfield.
  
 
 
  
   swfsprite.
  
 

  
   swfbutton.
  
 
 
  
   swfaction.
  
 

   
  
  


 
  
   SWFMovie
   Crée un objet 'animation'.
  
  
   Description
   

 new swfmovie
  void

   
   
swfmovie Crée un objet 'animation', 
représentant une animation Flash version 4.
   
   
SWFMovie a les méthodes suivantes : 
swfmovie->output,swfmovie->save,
swfmovie->add, swfmovie->remove,
swfmovie->nextframe, 
swfmovie->setbackground,
swfmovie->setrate, 
swfmovie->setdimension, 
swfmovie->setframes et 
swfmovie->streammp3.
   
   
Des exemples d'utilisation dans : 
swfdisplayitem->rotateto, 
swfshape->setline,
swfshape->addfill... En fait, tous les exemples
utilisent cet objet.
   
  
 
  
  
   
SWFMovie->output
Envoie votre anim

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

2001-04-02 Thread Daniel Beckham

danbeck Mon Apr  2 09:43:28 2001 EDT

  Modified files:  
/phpdoc/en/functionsfilesystem.xml 
  Log:
  added docs for pathinfo
  
Index: phpdoc/en/functions/filesystem.xml
diff -u phpdoc/en/functions/filesystem.xml:1.60 phpdoc/en/functions/filesystem.xml:1.61
--- phpdoc/en/functions/filesystem.xml:1.60 Mon Mar 26 15:50:26 2001
+++ phpdoc/en/functions/filesystem.xml  Mon Apr  2 09:43:28 2001
@@ -2100,6 +2100,61 @@

   
 
+
+  
+   
+pathinfo
+Returns information about a file path
+   
+   
+Description
+
+ 
+  array pathinfo
+  string path
+ 
+
+
+ pathinfo returns an associative array
+ containing information about path.  The
+ following array elements are returned:
+ dirname, basename
+ and extension.
+
+
+ 
+  pathinfo Example
+  
+
+  
+ 
+
+
+ Would produce:
+ 
+  
+/www/htdocs
+index.html
+html
+  
+ 
+
+
+ See also dirname,
+ basename and realpath.
+
+   
+  
+
+
   

 pclose





RE: [PHP-DOC] .chm files

2001-04-02 Thread James Moore


> > Could whoever build and added them to cvs please rebuild and
> readd them as
> > binaries, at the moment all of them are corrupt in the phpweb,
> I got rasmus
> > to add *.chm to cvswrappers so just cvs rm them and cvs add
> them again and
> > it should work. I cant seem to get them to build here.
>
> Will do, tomorrow I think. They need to be updated anyway.


Im trying to build them now.. we will see if it works in a min ;) If it does
Ill commit them this evening.

James




Re: [PHP-DOC] .chm files

2001-04-02 Thread Derick Rethans

On Mon, 2 Apr 2001, James Moore wrote:

> Could whoever build and added them to cvs please rebuild and readd them as
> binaries, at the moment all of them are corrupt in the phpweb, I got rasmus
> to add *.chm to cvswrappers so just cvs rm them and cvs add them again and
> it should work. I cant seem to get them to build here.

Will do, tomorrow I think. They need to be updated anyway.

Derick Rethans

-
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
 SRM: Site Resource Manager - www.vl-srm.net
-
JDI Media Solutions - www.jdimedia.nl - [EMAIL PROTECTED]
 Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands
-




[PHP-DOC] .chm files

2001-04-02 Thread James Moore

Could whoever build and added them to cvs please rebuild and readd them as
binaries, at the moment all of them are corrupt in the phpweb, I got rasmus
to add *.chm to cvswrappers so just cvs rm them and cvs add them again and
it should work. I cant seem to get them to build here.

Thanks

James
--
James Moore
[EMAIL PROTECTED]
PHP Web Scripting: http://www.php.net/
PHP QA Team: http://qa.php.net/
PHP-GTK: http://gtk.php.net/
VL-SRM: http://www.vl-srm.net/




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

2001-04-02 Thread Damien Seguy

damsMon Apr  2 05:56:37 2001 EDT

  Modified files:  
/phpdoc/en/functionsming.xml 
  Log:
  Correcting while translating. Some left titles
  
Index: phpdoc/en/functions/ming.xml
diff -u phpdoc/en/functions/ming.xml:1.7 phpdoc/en/functions/ming.xml:1.8
--- phpdoc/en/functions/ming.xml:1.7Mon Apr  2 01:16:24 2001
+++ phpdoc/en/functions/ming.xmlMon Apr  2 05:56:36 2001
@@ -3170,7 +3170,7 @@
   

 SWFbutton->addShape
-Adds an object to a sprite
+Adds a shape to a button


 Description
@@ -3183,7 +3183,8 @@
 
 
  swfbutton->addshape adds the shape 
- shape to this button. The following flags are valid: 
+ shape to this button. The following 
+ flags' values are valid: 
  SWFBUTTON_UP, SWFBUTTON_OVER, SWFBUTTON_DOWN or SWFBUTTON_HIT.
  SWFBUTTON_HIT isn't ever displayed, it defines the hit region for the button.
  That is, everywhere the hit shape would be drawn is considered a "touchable" 
@@ -3665,7 +3666,7 @@
 

   
-  So, setting a sprite's x position is as simple as /box.x = 100;. 
+  So, setting a sprite's x position is as simple as /box.x = 
+100;. 
   Why the slash in front of the box, though? That's how flash keeps
   track of the sprites in the movie, just like a unix filesystem- 
   here it shows that box is at the top level. If the sprite named 





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

2001-04-02 Thread Damien Seguy

damsMon Apr  2 01:20:52 2001 EDT

  Modified files:  
/phpdoc/fr/functionsoutcontrol.xml 
  Log:
  Typo in example
  
Index: phpdoc/fr/functions/outcontrol.xml
diff -u phpdoc/fr/functions/outcontrol.xml:1.15 phpdoc/fr/functions/outcontrol.xml:1.16
--- phpdoc/fr/functions/outcontrol.xml:1.15 Mon Mar 19 09:01:15 2001
+++ phpdoc/fr/functions/outcontrol.xml  Mon Apr  2 01:20:52 2001
@@ -35,13 +35,15 @@
 (D'habitude, vous devez envoyer les entêtes avant les données).


-Voir aussi header et setcookie.
+Voir aussi 
+header et 
+setcookie.

   
   

 flush
-Vide les buffers de sorties.
+Vide les buffers de sortie.


 Description
@@ -169,9 +171,12 @@
  
 
 
- Voir aussi 
ob_get_contents,ob_end_flush,
- ob_end_clean, ob_implicit_flush
- et ob_gzhandler.
+ Voir aussi 
+ ob_get_contents,
+ ob_end_flush,
+ ob_end_clean,
+ ob_implicit_flush et
+ ob_gzhandler.
 

   
@@ -209,7 +214,7 @@
 Exemple d'envoi de page compressée avec 
ob_gzhandler
   
   
-
 
@@ -217,6 +222,7 @@
 

Ceci devrait être une page compressée. +?> @@ -248,7 +254,9 @@ ou FALSE sinon. - Voir aussi ob_start et ob_get_length. + Voir aussi + ob_start et + ob_get_length. @@ -273,7 +281,9 @@ et FALSE sinon. - Voir aussi ob_start et ob_get_contents. + Voir aussi + ob_start et + ob_get_contents. @@ -302,8 +312,9 @@ ob_end_flush. - Voir aussi ob_start, - ob_get_contents, et + Voir aussi + ob_start, + ob_get_contents et ob_end_clean. @@ -312,7 +323,7 @@ ob_end_clean - Détruit es données du buffer de sortie, et éteind + Détruit les données du buffer de sortie, et éteind la bufferisation de sortie @@ -329,7 +340,9 @@ du buffer de sortie, et éteind la bufferisation. - Voir aussi ob_start et ob_end_flush. + Voir aussi + ob_start et + ob_end_flush. @@ -365,8 +378,10 @@ ob_end_flush. - Voir aussi flush, ob_start - et ob_end_flush. + Voir aussi + flush, + ob_start et + ob_end_flush.


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

2001-04-02 Thread Damien Seguy

damsMon Apr  2 01:16:24 2001 EDT

  Modified files:  
/phpdoc/en/functionsming.xml 
  Log:
  Correcting while translating. Some left titles
  
Index: phpdoc/en/functions/ming.xml
diff -u phpdoc/en/functions/ming.xml:1.6 phpdoc/en/functions/ming.xml:1.7
--- phpdoc/en/functions/ming.xml:1.6Fri Mar 30 00:16:20 2001
+++ phpdoc/en/functions/ming.xmlMon Apr  2 01:16:24 2001
@@ -1712,7 +1712,7 @@
   

 SWFGradient
-Loads a font definition
+Creates a gradient object


 Description
@@ -2312,7 +2312,7 @@
   

 SWFText->setHeight
-Sets the current font heigh
+Sets the current font height


 Description
@@ -2358,7 +2358,7 @@
   

 SWFText->setColor
-Sets the current font heigh
+Sets the current font color


 Description
@@ -2459,8 +2459,9 @@
  
 
 
- If name is the name of an FDB file (i.e., it ends in ".fdb"), load the font 
- definition found in said file. Otherwise, create a browser-defined font 
reference. 
+ If filename is the name of an FDB file 
+ (i.e., it ends in ".fdb"), load the font definition found in said 
+ file. Otherwise, create a browser-defined font reference. 
 
 
  FDB ("font definition block") is a very simple wrapper for the SWF DefineFont2
@@ -2479,11 +2480,12 @@
 ?>
 
 will give you the standard sans-serif font, probably the same as what you'd 
get
-with  in HTML.
+with  in HTML.


-Returns a reference to the font definition, for use in the SWFText setFont 
method 
-and the SWFTextField setFont method. 
+swffont returns a reference to the font 
+definition, for use in the SWFText->setFont
+and the SWFTextField->setFont methods. 
 
 
  SWFFont has the following methods : swffont->getwidth.
@@ -2505,9 +2507,9 @@
  
 
 
- nom_de_la_fonction returns the string 
+ swffont->getwidth returns the string 
  string's width, using font's default scaling. 
- You'll probably want to use the SWFText version of this method which
+ You'll probably want to use the SWFText version of this 
+method which
  uses the text object's scale. 
 

@@ -2540,7 +2542,7 @@
 
  
   
-   SWFTEXTFIELD_NOEDIT : indicates that the field shouldn't be user-editable
+   SWFTEXTFIELD_NOEDIT indicates that the field shouldn't be user-editable
   
  
  
@@ -2569,7 +2571,8 @@
   
  
 
-Flags are combined with the bitwise OR operation. For example, 
+Flags are combined with the bitwise 
+OR operation. For example, 
 
 align
-Sets the text field width and height
+Sets the text field alignment


 Description
@@ -2648,7 +2651,7 @@
 
  swftextfield->align sets the text field alignment
  to alignement. Valid values for 
- alignement are: SWFTEXTFIELD_ALIGN_LEFT, 
+ alignement are : SWFTEXTFIELD_ALIGN_LEFT, 
  SWFTEXTFIELD_ALIGN_RIGHT, SWFTEXTFIELD_ALIGN_CENTER and 
  SWFTEXTFIELD_ALIGN_JUSTIFY.
 
@@ -2856,14 +2859,15 @@
  
 
 
- SWFSprite are also known as a "movie clip", this allows one to create objects
- which are animated in their own timelines. Hence, the sprite has most of the
- same methods as the movie. 
+ swfsprite are also known as a "movie clip",
+ this allows one to create objects which are animated in their own
+ timelines. Hence, the sprite has most of the same methods as the movie. 
 
 
- SWFSprite has the following methods : swfsprite->add,
+ swfsprite has the following methods : 
+ swfsprite->add,
  swfsprite->remove, swfsprite->nextframe
- swfsprite->setframes.
+ et swfsprite->setframes.
 
 
  This simple example will spin gracefully a big red square.
@@ -2969,7 +2973,7 @@
 
  
   void swfsprite->setframes
-  string numberofframes
+  integer numberofframes