Pegasus InfoCorp: Web site design and web software development company

PHP Manual

Mehdi Achour
Friedhelm Betz
Antony Dovgal
Nuno Lopes
Philip Olson
Georg Richter
Damien Seguy
Jakub Vrana
And several others


Table of Contents
Authors and Contributors
I. Getting Started
1. Introduction
2. A simple tutorial
II. Installation and Configuration
3. General Installation Considerations
4. Installation on Unix systems
5. Installation on Mac OS X
6. Installation on Windows systems
7. Installation of PECL extensions
8. Problems?
9. Runtime Configuration
III. Language Reference
10. Basic syntax
11. Types
12. Variables
13. Constants
14. Expressions
15. Operators
16. Control Structures
17. Functions
18. Classes and Objects (PHP 4)
19. Classes and Objects (PHP 5)
20. Exceptions
21. References Explained
IV. Security
22. Introduction
23. General considerations
24. Installed as CGI binary
25. Installed as an Apache module
26. Filesystem Security
27. Database Security
28. Error Reporting
29. Using Register Globals
30. User Submitted Data
31. Magic Quotes
32. Hiding PHP
33. Keeping Current
V. Features
34. HTTP authentication with PHP
35. Cookies
36. Sessions
37. Dealing with XForms
38. Handling file uploads
39. Using remote files
40. Connection handling
41. Persistent Database Connections
42. Safe Mode
43. Using PHP from the command line
VI. Function Reference
I. .NET Functions
II. Apache-specific Functions
III. Alternative PHP Cache
IV. Advanced PHP debugger
V. Array Functions
VI. Aspell functions [deprecated]
VII. BCMath Arbitrary Precision Mathematics Functions
VIII. PHP bytecode Compiler
IX. Bzip2 Compression Functions
X. Calendar Functions
XI. CCVS API Functions [deprecated]
XII. Class/Object Functions
XIII. Classkit Functions
XIV. ClibPDF Functions
XV. COM and .Net (Windows)
XVI. Crack Functions
XVII. Character Type Functions
XVIII. CURL, Client URL Library Functions
XIX. Cybercash Payment Functions
XX. Credit Mutuel CyberMUT functions
XXI. Cyrus IMAP administration Functions
XXII. Date and Time Functions
XXIII. DB++ Functions
XXIV. Database (dbm-style) Abstraction Layer Functions
XXV. dBase Functions
XXVI. DBM Functions [deprecated]
XXVII. dbx Functions
XXVIII. Direct IO Functions
XXIX. Directory Functions
XXX. DOM Functions
XXXI. DOM XML Functions
XXXII. Error Handling and Logging Functions
XXXIII. Exif Functions
XXXIV. Expect Functions
XXXV. File Alteration Monitor Functions
XXXVI. Forms Data Format Functions
XXXVII. Fileinfo Functions
XXXVIII. filePro Functions
XXXIX. Filesystem Functions
XL. Filter Functions
XLI. Firebird/InterBase Functions
XLII. Firebird/Interbase Functions (PDO_FIREBIRD)
XLIII. FriBiDi Functions
XLIV. FrontBase Functions
XLV. FTP Functions
XLVI. Function Handling Functions
XLVII. Gettext
XLVIII. GMP Functions
XLIX. gnupg Functions
L. Net_Gopher
LI. hash Functions
LII. HTTP Functions
LIII. Hyperwave Functions
LIV. Hyperwave API Functions
LV. IBM DB2, Cloudscape and Apache Derby Functions
LVI. ICAP Functions [deprecated]
LVII. iconv Functions
LVIII. ID3 Functions
LIX. IIS Administration Functions
LX. Image Functions
LXI. IMAP, POP3 and NNTP Functions
LXII. Informix Functions
LXIII. Informix Functions (PDO_INFORMIX)
LXIV. Ingres II Functions
LXV. IRC Gateway Functions
LXVI. PHP / Java Integration
LXVIII. LDAP Functions
LXIX. libxml Functions
LXX. Lotus Notes Functions
LXXI. LZF Functions
LXXII. Mail Functions
LXXIII. mailparse Functions
LXXIV. Mathematical Functions
LXXV. MaxDB PHP Extension
LXXVI. MCAL Functions
LXXVII. Mcrypt Encryption Functions
LXXVIII. MCVE (Monetra) Payment Functions
LXXIX. Memcache Functions
LXXX. Mhash Functions
LXXXI. Mimetype Functions
LXXXII. Ming functions for Flash
LXXXIII. Miscellaneous Functions
LXXXIV. mnoGoSearch Functions
LXXXV. Microsoft SQL Server Functions
LXXXVI. Microsoft SQL Server and Sybase Functions (PDO_DBLIB)
LXXXVII. Mohawk Software Session Handler Functions
LXXXVIII. mSQL Functions
LXXXIX. Multibyte String Functions
XC. muscat Functions
XCI. MySQL Functions
XCIII. MySQL Improved Extension
XCIV. Ncurses Terminal Screen Control Functions
XCV. Network Functions
XCVI. Newt Functions
XCVII. NSAPI-specific Functions
XCVIII. Object Aggregation/Composition Functions
XCIX. Object property and method call overloading
C. Oracle Functions
CI. ODBC Functions (Unified)
CII. ODBC and DB2 Functions (PDO_ODBC)
CIII. oggvorbis
CIV. OpenAL Audio Bindings
CV. OpenSSL Functions
CVI. Oracle Functions [deprecated]
CVII. Oracle Functions (PDO_OCI)
CVIII. Output Control Functions
CIX. Ovrimos SQL Functions
CX. Paradox File Access
CXI. Parsekit Functions
CXII. Process Control Functions
CXIII. Regular Expression Functions (Perl-Compatible)
CXIV. PDF Functions
CXV. PDO Functions
CXVI. PHP Options&Information
CXVII. POSIX Functions
CXVIII. Regular Expression Functions (POSIX Extended)
CXIX. PostgreSQL Functions
CXX. PostgreSQL Functions (PDO_PGSQL)
CXXI. Printer Functions
CXXII. Program Execution Functions
CXXIII. PostScript document creation
CXXIV. Pspell Functions
CXXV. qtdom Functions
CXXVI. Radius
CXXVII. Rar Functions
CXXIX. GNU Recode Functions
CXXX. RPM Header Reading Functions
CXXXI. runkit Functions
CXXXII. Satellite CORBA client extension [deprecated]
CXXXIII. SDO Functions
CXXXIV. SDO XML Data Access Service Functions
CXXXV. SDO Relational Data Access Service Functions
CXXXVI. Semaphore, Shared Memory and IPC Functions
CXXXVII. SESAM Database Functions
CXXXVIII. PostgreSQL Session Save Handler
CXXXIX. Session Handling Functions
CXL. Shared Memory Functions
CXLI. SimpleXML functions
CXLII. SNMP Functions
CXLIII. SOAP Functions
CXLIV. Socket Functions
CXLV. Standard PHP Library (SPL) Functions
CXLVI. SQLite Functions
CXLVIII. Secure Shell2 Functions
CXLIX. Statistics Functions
CL. Stream Functions
CLI. String Functions
CLII. Shockwave Flash Functions
CLIII. Sybase Functions
CLIV. TCP Wrappers Functions
CLV. Tidy Functions
CLVI. Tokenizer Functions
CLVII. Unicode Functions
CLVIII. URL Functions
CLIX. Variable Handling Functions
CLX. Verisign Payflow Pro Functions
CLXI. vpopmail Functions
CLXII. W32api Functions
CLXIII. WDDX Functions
CLXIV. win32ps Functions
CLXV. win32service Functions
CLXVI. xattr Functions
CLXVII. xdiff Functions
CLXVIII. XML Parser Functions
CLXIX. XML-RPC Functions
CLXX. XMLReader functions
CLXXI. xmlwriter Functions
CLXXII. XSL functions
CLXXIV. YAZ Functions
CLXXV. YP/NIS Functions
CLXXVI. Zip File Functions (Read Only Access)
CLXXVII. Zlib Compression Functions
VII. PHP and Zend Engine Internals
44. Streams API for PHP Extension Authors
45. PDO Driver How-To
46. Zend API: Hacking the Core of PHP
48. Extending PHP 3
VIII. FAQ: Frequently Asked Questions
49. General Information
50. Mailing lists
51. Obtaining PHP
52. Database issues
53. Installation FAQ
54. Build Problems
55. Using PHP
56. PHP and HTML
57. PHP and COM
58. PHP and other languages
59. Migrating from PHP 2 to PHP 3
60. Migrating from PHP 3 to PHP 4
61. Migrating from PHP 4 to PHP 5
62. Miscellaneous Questions
IX. Appendixes
A. History of PHP and related projects
B. Migrating from PHP 4 to PHP 5
C. Migrating from PHP 3 to PHP 4
D. Migrating from PHP/FI 2 to PHP 3
E. Debugging PHP
F. Configure options
G. php.ini directives
H. List of Supported Timezones
I. Extension Categorization
J. List of Function Aliases
K. List of Reserved Words
L. List of Resource Types
M. List of Supported Protocols/Wrappers
N. List of Available Filters
O. List of Supported Socket Transports
P. PHP type comparison tables
Q. List of Parser Tokens
R. About the manual
S. Open Publication License
T. Function Index