PHP Manual

Stig Sæther Bakken
Alexander Aulbach
Egon Schmid
Jim Winstead
Lars Torben Wilson
Rasmus Lerdorf
Zeev Suraski

Edited by

Stig Sæther Bakken



Table of Contents
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
III. Features
14. Error handling
15. Creating GIF images
16. HTTP authentication with PHP
17. Cookies
18. Handling file uploads
19. Using remote files
20. Connection handling
21. Persistent database connections
IV. Function Reference
I. Adabas D functions
II. Apache-specific functions
III. Arbitrary precision mathematics functions
IV. Array functions
V. Aspell functions
VI. Calendar functions
VII. ClibPDF functions
VIII. Compression functions
IX. Database (dbm-style) abstraction layer functions
X. Date and Time functions
XI. dBase functions
XII. dbm functions
XIII. Directory functions
XIV. Dynamic Loading functions
XV. Encryption functions
XVI. filePro functions
XVII. Filesystem functions
XVIII. Forms Data Format functions
XIX. FTP functions
XX. Hash functions
XXI. HTTP functions
XXII. Hyperwave functions
XXIII. Image functions
XXIV. IMAP functions
XXV. Informix functions
XXVI. InterBase functions
XXVII. LDAP functions
XXVIII. Mail functions
XXIX. Mathematical functions
XXX. MCAL functions
XXXI. Microsoft SQL Server functions
XXXII. Miscellaneous functions
XXXIII. mSQL functions
XXXIV. MySQL functions
XXXV. Network functions
XXXVI. NIS functions
XXXVII. ODBC functions
XXXVIII. Oracle functions
XXXIX. Oracle 8 functions
XL. PDF functions
XLI. Perl-compatible Regular Expression functions
XLII. PHP options & information
XLIII. POSIX functions
XLIV. PostgreSQL functions
XLV. Program Execution functions
XLVI. GNU Recode functions
XLVII. Regular expression functions
XLVIII. Semaphore and shared memory functions
XLIX. Session handling functions
L. SNMP functions
LI. Solid functions
LII. String functions
LIII. Sybase functions
LIV. URL functions
LV. Variable functions
LVI. Vmailmgr functions
LVII. WDDX functions
LVIII. XML parser functions
V. Appendixes
A. Migrating from PHP/FI 2.0 to PHP 3.0
B. PHP development
C. The PHP Debugger