PHP Manual
Stig Sµther Bakken
Alexander Aulbach
Egon Schmid
Jim Winstead
Lars Torben Wilson
Rasmus Lerdorf
Zeev Suraski
Andrei Zmievski
Jouni Ahto
Edited by
Stig Sµther Bakken
Egon Schmid
Copyright
© 1997, 1998, 1999, 2000, 2001 by the PHP Documentation Group
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
IV.
Function Reference
I.
Apache-specific Functions
II.
Array Functions
III.
Aspell functions
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.
Character type functions
XIV.
Database (dbm-style) abstraction layer functions
XV.
Date and Time functions
XVI.
dBase functions
XVII.
DBM Functions
XVIII.
Directory functions
XIX.
DOM XML functions
XX.
Error Handling and Logging Functions
XXI.
filePro functions
XXII.
Filesystem functions
XXIII.
Forms Data Format functions
XXIV.
FTP functions
XXV.
Function Handling functions
XXVI.
GNU Gettext
XXVII.
GMP functions
XXVIII.
HTTP functions
XXIX.
Hyperwave functions
XXX.
ICAP Functions
XXXI.
Image functions
XXXII.
IMAP, POP3 and NNTP functions
XXXIII.
Informix functions
XXXIV.
InterBase functions
XXXV.
Ingres II functions
XXXVI.
LDAP functions
XXXVII.
Mail functions
XXXVIII.
Mathematical Functions
XXXIX.
MCAL functions
XL.
Mcrypt Encryption Functions
XLI.
Mhash Functions
XLII.
Microsoft SQL Server functions
XLIII.
Ming functions for Flash
XLIV.
Miscellaneous functions
XLV.
mnoGoSearch Functions
XLVI.
mSQL functions
XLVII.
MySQL functions
XLVIII.
Network Functions
XLIX.
Unified ODBC functions
L.
Oracle 8 functions
LI.
OpenSSL functions
LII.
Oracle functions
LIII.
Ovrimos SQL functions
LIV.
Output Control Functions
LV.
PDF functions
LVI.
Verisign Payflow Pro functions
LVII.
PHP options & information
LVIII.
POSIX functions
LIX.
PostgreSQL functions
LX.
Program Execution functions
LXI.
Pspell Functions
LXII.
GNU Readline
LXIII.
GNU Recode functions
LXIV.
Regular Expression Functions (Perl-Compatible)
LXV.
Regular Expression Functions (POSIX Extended)
LXVI.
Satellite CORBA client extension
LXVII.
Semaphore and Shared Memory Functions
LXVIII.
SESAM database functions
LXIX.
Session handling functions
LXX.
Shared Memory Functions
LXXI.
Shockwave Flash functions
LXXII.
SNMP functions
LXXIII.
Socket functions
LXXIV.
String functions
LXXV.
Sybase functions
LXXVI.
URL Functions
LXXVII.
Variable Functions
LXXVIII.
WDDX functions
LXXIX.
XML parser functions
LXXX.
XSLT functions
LXXXI.
YAZ functions
LXXXII.
YP/NIS Functions
LXXXIII.
Zlib Compression Functions
V.
PEAR: the PHP Extension and Application Repository
VI.
Appendixes
A.
Migrating from older versions of PHP
B.
Migrating from PHP 3.0 to PHP 4.0
C.
PHP development
D.
The PHP Debugger
E.
PHP reserved words
F.
PHP's resource types
Next
Preface