PHP Manual

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

Edited by

Stig Sæther Bakken

Egon Schmid

30-10-2001


Table of Contents
Preface
About this Manual
I. Getting Started
1. Introduction
2. Installation
3. Configuration
4. Security
II. Language Reference
5. Basic syntax
6. Types
7. Variables
8. Constants
9. Expressions
10. Operators
11. Control Structures
12. Functions
13. Classes and Objects
14. References Explained
III. Features
15. Error Handling
16. Creating and manipulating images
17. HTTP authentication with PHP
18. Cookies
19. Handling file uploads
20. Using remote files
21. Connection handling
22. Persistent Database Connections
23. Safe Mode
IV. Function Reference
I. Apache-specific Functions
II. Array Functions
III. Aspell functions [deprecated]
IV. BCMath Arbitrary Precision Mathematics Functions
V. Bzip2 Compression Functions
VI. Calendar functions
VII. CCVS API Functions
VIII. COM support functions for Windows
IX. Class/Object Functions
X. ClibPDF functions
XI. CURL, Client URL Library Functions
XII. Cybercash payment functions
XIII. Crédit Mutuel CyberMUT functions
XIV. Character type functions
XV. Database (dbm-style) abstraction layer functions
XVI. Date and Time functions
XVII. dBase functions
XVIII. DBM Functions
XIX. dbx functions
XX. DB++ Functions
XXI. Directory functions
XXII. DOM XML functions
XXIII. Error Handling and Logging Functions
XXIV. FrontBase Functions
XXV. filePro functions
XXVI. Filesystem functions
XXVII. Forms Data Format functions
XXVIII. FTP functions
XXIX. Function Handling functions
XXX. Gettext
XXXI. GMP functions
XXXII. HTTP functions
XXXIII. Hyperwave functions
XXXIV. ICAP Functions
XXXV. iconv functions
XXXVI. Image functions
XXXVII. IMAP, POP3 and NNTP functions
XXXVIII. Informix functions
XXXIX. InterBase functions
XL. Ingres II functions
XLI. IRC Gateway Functions
XLII. Java
XLIII. LDAP functions
XLIV. Mail functions
XLV. Mathematical Functions
XLVI. Multi-Byte String Functions
XLVII. MCAL functions
XLVIII. Mcrypt Encryption Functions
XLIX. Mhash Functions
L. Microsoft SQL Server functions
LI. Ming functions for Flash
LII. Miscellaneous functions
LIII. mnoGoSearch Functions
LIV. mSQL functions
LV. MySQL Functions
LVI. Network Functions
LVII. Unified ODBC functions
LVIII. Oracle 8 functions
LIX. OpenSSL functions
LX. Oracle functions
LXI. Ovrimos SQL functions
LXII. Output Control Functions
LXIII. PDF functions
LXIV. Verisign Payflow Pro functions
LXV. PHP options & information
LXVI. POSIX functions
LXVII. PostgreSQL functions
LXVIII. Program Execution functions
LXIX. Printer functions
LXX. Pspell Functions
LXXI. GNU Readline
LXXII. GNU Recode functions
LXXIII. Regular Expression Functions (Perl-Compatible)
LXXIV. Regular Expression Functions (POSIX Extended)
LXXV. Satellite CORBA client extension
LXXVI. Semaphore and Shared Memory Functions
LXXVII. SESAM database functions
LXXVIII. Session handling functions
LXXIX. Shared Memory Functions
LXXX. Shockwave Flash functions
LXXXI. SNMP functions
LXXXII. Socket functions
LXXXIII. String functions
LXXXIV. Sybase functions
LXXXV. URL Functions
LXXXVI. Variable Functions
LXXXVII. WDDX Functions
LXXXVIII. XML parser functions
LXXXIX. XSLT functions
XC. YAZ functions
XCI. YP/NIS Functions
XCII. Zip File Functions (Read Only Access)
XCIII. Zlib Compression Functions
V. PEAR: the PHP Extension and Application Repository
24. About PEAR
25. PEAR Coding Standards
XCIV. PEAR Reference Manual
VI. FAQ: Frequently Asked Questions
26. General Information
27. Mailing lists
28. Obtaining PHP
29. Database issues
30. Installation
31. Build Problems
32. Using PHP
33. PHP and HTML
34. PHP and other languages
35. Migrating from PHP 2 to PHP 3
36. Migrating from PHP 3 to PHP 4
37. Miscellaneous Questions
VII. Appendixes
A. Migrating from PHP/FI 2.0 to PHP 3.0
B. Migrating from PHP 3.0 to PHP 4.0
C. PHP development
D. The PHP Debugger
E. PHP reserved words
F. PHP Resource Types
G. Aliases list
H. Using PHP from the command line