PHP  
downloads | documentation | faq | getting help | mailing lists | | php.net sites | links 
search for in the  
Pr�face>
Last updated: Wed, 15 Jan 2003
view the printer friendly version or the printer friendly version with notes or change language to English | Brazilian Portuguese | Chinese (Simplified) | Chinese (Traditional) | Czech | Dutch | Finnish | German | Hebrew | Hungarian | Italian | Japanese | Korean | Polish | Romanian | Russian | Slovak | Slovenian | Spanish | Swedish | Turkish

Manuel PHP

Stig S�ther Bakken
Alexander Aulbach
Egon Schmid
Jim Winstead
Lars Torben Wilson
Rasmus Lerdorf
Andrei Zmievski
Jouni Ahto

Publi� par

Damien Seguy

14-01-2003


Table des mati�res
Pr�face
A propos de ce manuel
I. Comment commencer
1. Introduction
2. Une introduction � PHP
3. Installation
4. Configuration
5. S�curit�
II. R�f�rence
6. La syntaxe de base
7. Les types
8. Les variables
9. Les constantes
10. Les expressions
11. Les op�rateurs
12. Les structures de contr�le
13. Les fonctions
14. Les classes et les objets
15. Les r�f�rences
III. Caract�ristiques
16. Authentification HTTP avec PHP
17. Cookies
18. Gestion des chargements de fichier
19. Utilisation des fichiers � distance
20. Gestion des connexions
21. Connexions persistantes aux bases de donn�es
22. Safe mode
23. Utiliser PHP en ligne de commande
IV. Index des fonctions
I. Apache
II. Tableaux
III. Aspell
IV. Nombres de grande taille
V. Compression Bzip2
VI. Calendrier
VII. Paiement CCVS
VIII. Support COM pour Windows
IX. Classes et Objets
X. ClibPDF
XI. Crack
XII. CURL
XIII. Paiement Cybercash
XIV. CyberMUT : Cr�dit Mutuel
XV. Administration Cyrus IMAP
XVI. Caract�res
XVII. DBA
XVIII. Dates et heures
XIX. dBase
XX. DBM
XXI. dbx
XXII. DB++
XXIII. Direct IO
XXIV. Acc�s aux dossiers
XXV. DOM XML
XXVI. .NET
XXVII. Gestion des erreurs
XXVIII. FrontBase
XXIX. FilePro
XXX. Syst�me de fichiers
XXXI. Forms Data Format
XXXII. FriBiDi
XXXIII. FTP
XXXIV. Fonctions
XXXV. Gettext (GNU)
XXXVI. GMP
XXXVII. HTTP
XXXVIII. Hyperwave
XXXIX. Hyperwave API functions
XL. Iconv
XLI. Images
XLII. IMAP
XLIII. Informix
XLIV. InterBase
XLV. Ingres II
XLVI. IRC
XLVII. Java
XLVIII. LDAP
XLIX. Mail
L. Traitement de mail
LI. Math�matiques
LII. Cha�nes de caract�res multi-octets
LIII. MCAL
LIV. Chiffrage mcrypt
LV. MCVE (Paiement)
LVI. Hash
LVII. Mimetype
LVIII. Microsoft SQL Server
LIX. Ming pour Flash
LX. Fonctions diverses
LXI. mnoGoSearch
LXII. mSQL
LXIII. MySQL
LXIV. Mohawk Software session handler functions
LXV. Fonctions muscat
LXVI. R�seau
LXVII. Ncurses terminal screen control functions
LXVIII. Lotus Notes functions
LXIX. ODBC unifi�
LXX. Aggregation d'objets/Composition de fonctions
LXXI. Oracle 8
LXXII. OpenSSL
LXXIII. Oracle
LXXIV. Ovrimos SQL
LXXV. Entr�es/sorties
LXXVI. Overload
LXXVII. PDF
LXXVIII. Paiement par Verisign
LXXIX. Options PHP et informations
LXXX. POSIX
LXXXI. PostgreSQL
LXXXII. Contr�le des processus
LXXXIII. Ex�cution de programmes externes
LXXXIV. Printer functions
LXXXV. Pspell
LXXXVI. Readline (GNU)
LXXXVII. Recode (GNU)
LXXXVIII. Expressions r�guli�res compatibles Perl
LXXXIX. qtdom
XC. Expressions r�guli�res
XCI. S�maphores et gestion de la m�moire partag�e
XCII. SESAM
XCIII. Sessions
XCIV. M�moire partag�e
XCV. Shockwave Flash
XCVI. SNMP
XCVII. Socket
XCVIII. Fl�ts
XCIX. Cha�nes de caract�res (Strings)
C. Sybase
CI. Tokenizer
CII. URL
CIII. Variables
CIV. vpopmail
CV. API Windows 32 bits
CVI. WDDX
CVII. Analyseur syntaxique XML
CVIII. XMLRPC
CIX. XSLT
CX. YAZ
CXI. NIS
CXII. Acc�s aux fichiers Zip (Lecture seule)
CXIII. Compression Zlib
V. Extending PHP 4.0
24. Overview
25. Extension Possibilities
26. Source Layout
27. PHP's Automatic Build System
28. Creating Extensions
29. Using Extensions
30. Troubleshooting
31. Source Discussion
32. Accepting Arguments
33. Creating Variables
34. Duplicating Variable Contents: The Copy Constructor
35. Returning Values
36. Printing Information
37. Startup and Shutdown Functions
38. Calling User Functions
39. Initialization File Support
40. Where to Go from Here
41. Reference: Some Configuration Macros
42. API Macros
43. Streams API for PHP Extension Authors
Overview
Streams Basics
Streams Common API Reference
Streams Dir API Reference
Streams File API Reference
Streams Socket API Reference
Streams Structures
Streams Constants
VI. FAQ�: Foire Aux Questions
44. General Information
45. Mailing lists
46. Obtaining PHP
47. Database issues
48. Installation
49. Build Problems
50. Using PHP
51. PHP and HTML
52. PHP and COM
53. PHP and other languages
54. Migrating from PHP 2 to PHP 3
55. Migrating from PHP 3 to PHP 4
56. Miscellaneous Questions
VII. Appendices
A. Histoire de PHP
B. Migration de PHP 3.0 � PHP 4.0
C. Migration de PHP/FI 2.0 � PHP 3.0
D. D�buggeur PHP
E. D�veloppement PHP
F. Liste d'alias
G. Mot r�serv�s en PHP
H. Types des ressources PHP
I. List of Supported Protocols/Wrappers
J. Liste des token de l'analyseur
K. A propos du manuel
L. El�ments Absents
User Contributed Notes
Manuel PHP
add a note about notes
dq skipthisword at searchlores dot org
07-Nov-2002 05:26

<?php
{
 /* NoBloatIndex
 nobloatindex.php enhances your PHP manual by reducing the
 index to those entries you care about. You just have to
 provide a file with those headers that you want to have
 commented out in the manual.

 You may customize the four variables below
 $filename should point either to index.html or
  funcref.html within the PHP manual directory.
 $filediscard shall contain a list of lines with the
   function reference headers you don't care about. For
   example, if you don't care about Informix functions,
   just add a line with the text: Informix functions
$signature is a text string part of the html comment
   disabling that entry.
 $nbr_backups is the max number of backups of the file
   about to be modified. The backup files will be named
   like the original file with a numerical extension.
 */
$filename='..\manual\index.html';
 $filediscard='discard.txt';
$signature='NoBloat';
 $nbr_backups=10;
 // you may customize the four variables above
 error_reporting(E_ALL);
for($i=0;$i<$nbr_backups;$i++) {
  $filebak=sprintf($filename.'.%0'.
      strlen((string)($nbr_backups-1)).'d',$i);
  if(!file_exists($filebak)) break;
 }
$contents=join('',file($filename));
 if(!rename($filename,$filebak)) copy($filename,$filebak);
 $signature='--'.$signature.'--';
$contents=str_replace(array('<!'.$signature,
    $signature.'>'),'',$contents);
 foreach(file($filediscard) as $discard) {
   $discard=trim($discard);
   if(strlen($discard)==0) continue;
  $pattern='@(<DT\s*>[^<>]*<A[^<>]*>[^<>]*'.
    preg_quote($discard,'@').
    '[^<>]*</A\s*></DT\s*>)@sU';
  $ra=preg_split($pattern,$contents,-1,
                  PREG_SPLIT_DELIM_CAPTURE);
   $i=(count($ra)-1)/2;
   if($i!=1)
     print("Warning: $i matches found for \"$discard\"\n");
   $contents=array_shift($ra);
  for(;$i>0;$i--) $contents.='<!'.$signature.
    array_shift($ra).$signature.'>'.array_shift($ra);
 } // end foreach
 $fh=@fopen($filename,'wb');
 if($fh) {
  fwrite($fh,$contents);
   fclose($fh);
 }
}
?>

add a note about notes
Pr�face>
Last updated: Wed, 15 Jan 2003
show source | credits | mirror sites
Copyright © 2001-2003 The PHP Group
All rights reserved.
This mirror generously provided by: /
Last updated: Thu Jan 16 08:12:52 2003 CET