Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
PHP Manual X-hacker.org Books Home Page

PHP Manual

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

2007-02-15


Table of Contents
Preface
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. enchant Functions
XXXIII. Error Handling and Logging Functions
XXXIV. Exif Functions
XXXV. Expect Functions
XXXVI. File Alteration Monitor Functions
XXXVII. Forms Data Format Functions
XXXVIII. Fileinfo Functions
XXXIX. filePro Functions
XL. Filesystem Functions
XLI. Filter Functions
XLII. Firebird/InterBase Functions
XLIII. Firebird/Interbase Functions (PDO_FIREBIRD)
XLIV. FriBiDi Functions
XLV. FrontBase Functions
XLVI. FTP Functions
XLVII. Function Handling Functions
XLVIII. GeoIP Functions
XLIX. Gettext
L. GMP Functions
LI. gnupg Functions
LII. Net_Gopher
LIII. hash Functions
LIV. HTTP
LV. Hyperwave Functions
LVI. Hyperwave API Functions
LVII. IBM Functions (PDO_IBM)
LVIII. IBM DB2, Cloudscape and Apache Derby Functions
LIX. ICAP Functions [removed]
LX. iconv Functions
LXI. ID3 Functions
LXII. IIS Administration Functions
LXIII. Image Functions
LXIV. Image magick Functions
LXV. IMAP, POP3 and NNTP Functions
LXVI. Informix Functions
LXVII. Informix Functions (PDO_INFORMIX)
LXVIII. Ingres II Functions
LXIX. IRC Gateway Functions
LXX. PHP / Java Integration
LXXI. JSON Functions
LXXII. KADM5
LXXIII. LDAP Functions
LXXIV. libxml Functions
LXXV. Lotus Notes Functions
LXXVI. LZF Functions
LXXVII. Mail Functions
LXXVIII. mailparse Functions
LXXIX. Mathematical Functions
LXXX. MaxDB PHP Extension
LXXXI. MCAL Functions
LXXXII. Mcrypt Encryption Functions
LXXXIII. MCVE (Monetra) Payment Functions
LXXXIV. Memcache Functions
LXXXV. Mhash Functions
LXXXVI. Mimetype Functions
LXXXVII. Ming functions for Flash
LXXXVIII. Miscellaneous Functions
LXXXIX. mnoGoSearch Functions
XC. Microsoft SQL Server Functions
XCI. Microsoft SQL Server and Sybase Functions (PDO_DBLIB)
XCII. Mohawk Software Session Handler Functions
XCIII. mSQL Functions
XCIV. Multibyte String Functions
XCV. muscat Functions
XCVI. MySQL Functions
XCVII. MySQL Functions (PDO_MYSQL)
XCVIII. MySQL Improved Extension
XCIX. Ncurses Terminal Screen Control Functions
C. Network Functions
CI. Newt Functions
CII. NSAPI-specific Functions
CIII. Object Aggregation/Composition Functions
CIV. Object property and method call overloading
CV. Oracle Functions
CVI. ODBC Functions (Unified)
CVII. ODBC and DB2 Functions (PDO_ODBC)
CVIII. oggvorbis
CIX. OpenAL Audio Bindings
CX. OpenSSL Functions
CXI. Oracle Functions [deprecated]
CXII. Oracle Functions (PDO_OCI)
CXIII. Output Control Functions
CXIV. Ovrimos SQL Functions
CXV. Paradox File Access
CXVI. Parsekit Functions
CXVII. Process Control Functions
CXVIII. Regular Expression Functions (Perl-Compatible)
CXIX. PDF Functions
CXX. PDO Functions
CXXI. Phar archive stream and classes
CXXII. PHP Options&Information
CXXIII. POSIX Functions
CXXIV. Regular Expression Functions (POSIX Extended)
CXXV. PostgreSQL Functions
CXXVI. PostgreSQL Functions (PDO_PGSQL)
CXXVII. Printer Functions
CXXVIII. Program Execution Functions
CXXIX. PostScript document creation
CXXX. Pspell Functions
CXXXI. qtdom Functions
CXXXII. Radius
CXXXIII. Rar Functions
CXXXIV. GNU Readline
CXXXV. GNU Recode Functions
CXXXVI. RPM Header Reading Functions
CXXXVII. runkit Functions
CXXXVIII. SAM - Simple Asynchronous Messaging
CXXXIX. Satellite CORBA client extension [deprecated]
CXL. SCA Functions
CXLI. SDO Functions
CXLII. SDO XML Data Access Service Functions
CXLIII. SDO Relational Data Access Service Functions
CXLIV. Semaphore, Shared Memory and IPC Functions
CXLV. SESAM Database Functions
CXLVI. PostgreSQL Session Save Handler
CXLVII. Session Handling Functions
CXLVIII. Shared Memory Functions
CXLIX. SimpleXML functions
CL. SNMP Functions
CLI. SOAP Functions
CLII. Socket Functions
CLIII. Standard PHP Library (SPL) Functions
CLIV. SQLite Functions
CLV. SQLite Functions (PDO_SQLITE)
CLVI. Secure Shell2 Functions
CLVII. Statistics Functions
CLVIII. Stream Functions
CLIX. String Functions
CLX. Shockwave Flash Functions
CLXI. Swish-e bindings
CLXII. Sybase Functions
CLXIII. TCP Wrappers Functions
CLXIV. Tidy Functions
CLXV. Tokenizer Functions
CLXVI. Unicode Functions
CLXVII. URL Functions
CLXVIII. Variable Handling Functions
CLXIX. Verisign Payflow Pro Functions
CLXX. vpopmail Functions
CLXXI. W32api Functions
CLXXII. WDDX Functions
CLXXIII. win32ps Functions
CLXXIV. win32service Functions
CLXXV. xattr Functions
CLXXVI. xdiff Functions
CLXXVII. XML Parser Functions
CLXXVIII. XML-RPC Functions
CLXXIX. XMLReader functions
CLXXX. XMLWriter Functions
CLXXXI. XSL functions
CLXXXII. XSLT Functions
CLXXXIII. YAZ Functions
CLXXXIV. YP/NIS Functions
CLXXXV. Zip File Functions
CLXXXVI. 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
47. TSRM API
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. Userland Naming Guide
S. About the manual
T. Open Publication License
U. Function Index