Introduction. Who Should Buy This Book? Organization of the Chapters. Writing Conventions. I. CONCEPT REFERENCE. 1. Basic PHP. Background and History. Advantages of PHP. Installation. PHP Installation General Overview. Configuration Options. Types, Variables, and Constants. Arrays. Strings. Type Conversion. Variables. Constants. Operators and Mathematical Functions. Expressions and Operators. Control Structures. Mathematical Functions. Functions, Classes, and Objects. Functions. Classes and Objects. 2. Generating HTML. Generating Dynamic Content. Defining Dynamic Content. Using Request Variables to Generate Content. Using the Environment to Generate Content. Working with the Filesystem. Directory Functions. Filesystem Functions. HTTP Authentication. Overview. Limitations. Other Authentication Methods. Working with Email. Email Overview. Email and PHP. Calendar and Date Functions. Overview of Time and Date Functions. Calendar Functions. 3. Database Access. Working with Connections and Data Sources. Setting Up the Database. Using PostgreSQL and PHP. PostgreSQL Overview. Connecting Postgres and PHP. Select, Insert, Update, and Delete Queries. Insert Queries. Select Queries with PHP. Working with the Result Set. Update Queries. Delete Queries. Other Database Functions. Error Messages. Transaction Management. Persistent Database Connections. Large Objects. II. SYNTAX REFERENCE. 4. The Core PHP 4 Language. Basic Syntax. Tags. ..?>. . . <%..%>.