Books & Videos

Table of Contents

  1. Chapter 1 Introduction to PHP

    1. What Does PHP Do?

    2. A Brief History of PHP

    3. Installing PHP

    4. A Walk Through PHP

  2. Chapter 2 Language Basics

    1. Lexical Structure

    2. Data Types

    3. Variables

    4. Expressions and Operators

    5. Flow-Control Statements

    6. Including Code

    7. Embedding PHP in Web Pages

  3. Chapter 3 Functions

    1. Calling a Function

    2. Defining a Function

    3. Variable Scope

    4. Function Parameters

    5. Return Values

    6. Variable Functions

    7. Anonymous Functions

  4. Chapter 4 Strings

    1. Quoting String Constants

    2. Printing Strings

    3. Accessing Individual Characters

    4. Cleaning Strings

    5. Encoding and Escaping

    6. Comparing Strings

    7. Manipulating and Searching Strings

    8. Regular Expressions

    9. POSIX-Style Regular Expressions

    10. Perl-Compatible Regular Expressions

  5. Chapter 5 Arrays

    1. Indexed Versus Associative Arrays

    2. Identifying Elements of an Array

    3. Storing Data in Arrays

    4. Multidimensional Arrays

    5. Extracting Multiple Values

    6. Converting Between Arrays and Variables

    7. Traversing Arrays

    8. Sorting

    9. Acting on Entire Arrays

    10. Using Arrays

  6. Chapter 6 Objects

    1. Terminology

    2. Creating an Object

    3. Accessing Properties and Methods

    4. Declaring a Class

    5. Introspection

    6. Serialization

  7. Chapter 7 Web Techniques

    1. HTTP Basics

    2. Variables

    3. Server Information

    4. Processing Forms

    5. Setting Response Headers

    6. Maintaining State

    7. SSL

  8. Chapter 8 Databases

    1. Using PHP to Access a Database

    2. Relational Databases and SQL

    3. PEAR DBPEAR DB Basics

    4. Advanced Database Techniques

    5. Sample Application

  9. Chapter 9 Graphics

    1. Embedding an Image in a Page

    2. The GDGD Extension

    3. Basic Graphics Concepts

    4. Creating and Drawing Images

    5. Images with Text

    6. Dynamically Generated Buttons

    7. Scaling Images

    8. Color Handling

  10. Chapter 10 PDF

    1. PDF Extensions

    2. Documents and Pages

    3. Text

  11. Chapter 11 XML

    1. Lightning Guide to XML

    2. Generating XML

    3. Parsing XML

    4. Parsing XML with DOM

    5. Parsing XML with SimpleXML

    6. Transforming XML with XSLT

    7. Web Services

  12. Chapter 12 Security

    1. Filter Input

    2. Escape Output

    3. Cross-Site Scripting

    4. Session Fixation

    5. File Uploads

    6. File Access

    7. PHP Code

    8. Shell Commands

    9. More Information

    10. Security Recap

  13. Chapter 13 Application Techniques

    1. Code Libraries

    2. Templating Systems

    3. Handling Output

    4. Error Handling

    5. Performance Tuning

  14. Chapter 14 Extending PHP

    1. Architectural Overview

    2. What You'll Need

    3. Building Your First Extensions

    4. The config.m4 File

    5. Memory Management

    6. The pvaldata typespval /zvaldata typeszval Data Type

    7. Parameter Handling

    8. Returning Values

    9. References

    10. Global Variables

    11. Creating Variables

    12. Extension INI Entries

    13. Resources

    14. Where to Go from Here

  15. Chapter 15 PHP on Windows

    1. Installing and Configuring PHP on Windows

    2. Writing Portable Code for Windows and Unix

    3. Interfacing with COM

    4. Interacting with ODBC Data Sources

  1. Appendix A Function Reference

    1. PHP Functions by Category

    2. Alphabetical Listing of PHP Functions

  2. Appendix B Extension Overview

    1. Optional Extensions Listing

  3. Colophon