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

  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

    11. Iterator Interface

  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. MySQLi Object Interface

    4. SQLite

    5. Direct File-Level Manipulation

    6. MongoDB

  9. Chapter 9 Graphics

    1. Embedding an Image in a Page

    2. Basic Graphics Concepts

    3. Creating and Drawing Images

    4. Images with Text

    5. Dynamically Generated Buttons

    6. Scaling Images

    7. 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

  12. Chapter 12 Security

    1. Filter Input

    2. Cross-Site Scripting

    3. Escape Output

    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 PHP on Disparate Platforms

    1. Writing Portable Code for Windows and Unix

    2. Interfacing with COM

  15. Chapter 15 Web Services

    1. REST Clients

    2. XML-RPC

  16. Chapter 16 Debugging PHP

    1. The Development Environment

    2. The Staging Environment

    3. The Production Environment

    4. php.ini Settings

    5. Manual Debugging

    6. Error Log

    7. IDE Debugging

    8. Additional Debugging Techniques

  17. Chapter 17 Dates and Times

  1. Appendix Function Reference

    1. PHP Functions by Category

    2. Alphabetical Listing of PHP Functions

  2. Colophon