PHP Manual

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

Edited by

Gabor Hojtsy


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. Advanced PHP debugger
III. Alternative PHP Cache
IV. Apache-specific Functions
V. Array Functions
VI. Aspell functions [deprecated]
VII. BCMath Arbitrary Precision Mathematics Functions
VIII. Bzip2 Compression Functions
IX. Calendar Functions
X. CCVS API Functions [deprecated]
XI. Character Type Functions
XII. Class/Object Functions
XIII. Classkit Functions
XIV. ClibPDF Functions
XV. COM and .Net (Windows)
XVI. Crack Functions
XVII. Credit Mutuel CyberMUT functions
XVIII. CURL, Client URL Library Functions
XIX. Cybercash Payment Functions
XX. Cyrus IMAP administration Functions
XXI. Database (dbm-style) Abstraction Layer Functions
XXII. Date and Time Functions
XXIII. DB++ Functions
XXIV. dBase Functions
XXV. DBM Functions [deprecated]
XXVI. dbx Functions
XXVII. Direct IO Functions
XXVIII. Directory Functions
XXIX. DOM Functions
XXX. DOM XML Functions
XXXI. Error Handling and Logging Functions
XXXII. Exif Functions
XXXIII. File Alteration Monitor Functions
XXXIV. filePro Functions
XXXV. Filesystem Functions
XXXVI. Firebird/InterBase Functions
XXXVII. Firebird/Interbase Functions (PDO_FIREBIRD)
XXXVIII. Forms Data Format Functions
XXXIX. FriBiDi Functions
XL. FrontBase Functions
XLI. FTP Functions
XLII. Function Handling Functions
XLIII. Gettext
XLIV. GMP Functions
XLV. GNU Readline
XLVI. GNU Recode Functions
XLVII. HTTP Functions
XLVIII. Hyperwave API Functions
XLIX. Hyperwave Functions
L. IBM DB2, Cloudscape and Apache Derby Functions
LI. ICAP Functions [deprecated]
LII. iconv Functions
LIII. ID3 Functions
LIV. IIS Administration Functions
LV. Image Functions
LVI. IMAP, POP3 and NNTP Functions
LVII. Informix Functions
LVIII. Ingres II Functions
LIX. IRC Gateway Functions
LXI. LDAP Functions
LXII. libxml Functions
LXIII. Lotus Notes Functions
LXIV. LZF Functions
LXV. Mail Functions
LXVI. mailparse Functions
LXVII. Mathematical Functions
LXVIII. MaxDB PHP Extension
LXIX. MCAL Functions
LXX. Mcrypt Encryption Functions
LXXI. MCVE Payment Functions
LXXII. Memcache Functions
LXXIII. Mhash Functions
LXXIV. Microsoft SQL Server and Sybase Functions (PDO_DBLIB)
LXXV. Microsoft SQL Server Functions
LXXVI. Mimetype Functions
LXXVII. Ming functions for Flash
LXXVIII. Miscellaneous Functions
LXXIX. mnoGoSearch Functions
LXXX. Mohawk Software Session Handler Functions
LXXXI. mSQL Functions
LXXXII. Multibyte String Functions
LXXXIII. muscat Functions
LXXXIV. MySQL Functions
LXXXVI. MySQL Improved Extension
LXXXVII. Ncurses Terminal Screen Control Functions
LXXXVIII. Network Functions
LXXXIX. Net_Gopher
XC. NSAPI-specific Functions
XCI. Object Aggregation/Composition Functions
XCII. Object property and method call overloading
XCIII. ODBC and DB2 functions (PDO_ODBC)
XCIV. ODBC Functions (Unified)
XCV. oggvorbis
XCVI. OpenAL Audio Bindings
XCVII. OpenSSL Functions
XCVIII. Oracle 8 functions
XCIX. Oracle Functions
C. Oracle Functions (PDO_OCI)
CI. Output Control Functions
CII. Ovrimos SQL Functions
CIII. Paradox File Access
CIV. Parsekit Functions
CV. PDF functions
CVI. PDO Functions
CVII. PHP / Java Integration
CVIII. PHP bytecode Compiler
CIX. PHP Options&Information
CX. POSIX Functions
CXI. PostgreSQL Functions
CXII. PostgreSQL Functions (PDO_PGSQL)
CXIII. PostScript document creation
CXIV. Printer Functions
CXV. Process Control Functions
CXVI. Program Execution Functions
CXVII. Pspell Functions
CXVIII. qtdom Functions
CXIX. Radius
CXX. Rar Functions
CXXI. Regular Expression Functions (Perl-Compatible)
CXXII. Regular Expression Functions (POSIX Extended)
CXXIII. runkit Functions
CXXIV. SDO Functions
CXXV. SDO Relational Data Access Service Functions
CXXVI. SDO XML Data Access Service Functions
CXXVII. Secure Shell2 Functions
CXXVIII. Semaphore, Shared Memory and IPC Functions
CXXIX. SESAM Database Functions
CXXX. Session Handling Functions
CXXXI. Shared Memory Functions
CXXXII. Shockwave Flash Functions
CXXXIII. SimpleXML functions
CXXXIV. SNMP Functions
CXXXV. SOAP Functions
CXXXVI. Socket Functions
CXXXVII. SQLite Functions
CXXXIX. Standard PHP Library (SPL) Functions
CXL. Stream Functions
CXLI. String Functions
CXLII. Sybase Functions
CXLIII. TCP Wrappers Functions
CXLIV. Tidy Functions
CXLV. Tokenizer Functions
CXLVI. URL Functions
CXLVII. Variable Handling Functions
CXLVIII. Verisign Payflow Pro Functions
CXLIX. vpopmail Functions
CL. W32api Functions
CLI. WDDX Functions
CLII. xattr Functions
CLIII. xdiff Functions
CLIV. XML Parser Functions
CLV. XML-RPC Functions
CLVI. XMLReader functions
CLVII. XSL functions
CLVIII. XSLT Functions
CLIX. YAZ Functions
CLX. YP/NIS Functions
CLXI. Zip File Functions (Read Only Access)
CLXII. Zlib Compression Functions
44. Overview
45. Extension Possibilities
46. Source Layout
47. PHP's Automatic Build System
48. Creating Extensions
49. Using Extensions
50. Troubleshooting
51. Source Discussion
52. Accepting Arguments
53. Creating Variables
54. Duplicating Variable Contents: The Copy Constructor
55. Returning Values
56. Printing Information
57. Startup and Shutdown Functions
58. Calling User Functions
59. Initialization File Support
60. Where to Go from Here
61. Reference: Some Configuration Macros
62. API Macros
VIII. PHP API: Interfaces for extension writers
63. Streams API for PHP Extension Authors
CLXIII. Streams Common API Reference
CLXIV. Streams Dir API Reference
CLXV. Streams File API Reference
CLXVI. Streams Socket API Reference
CLXVII. Streams Structures
CLXVIII. Streams Constants
IX. FAQ: Frequently Asked Questions
64. General Information
65. Mailing lists
66. Obtaining PHP
67. Database issues
68. Installation FAQ
69. Build Problems
70. Using PHP
71. PHP and HTML
72. PHP and COM
73. PHP and other languages
74. Migrating from PHP 2 to PHP 3
75. Migrating from PHP 3 to PHP 4
76. Migrating from PHP 4 to PHP 5
77. Miscellaneous Questions
X. 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. Extending PHP 3
G. Configure options
H. php.ini directives
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

Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 18:00:04