Introduction

Setup and Installation

Note: Before contributing, check out the discussion page. How to write your examples.

Learning the Language

The Basics

This section is about things that are important for any type of PHP development. Useful for a PHP programmer of any level.
  1. Beginning with "Hello World!"   (10 Feb 2006)
  2. Nuts and Bolts   (14 Jan 2006)
  3. Commenting and Style   (14 Jan 2006)
  4. Comparison operators   (2016-04-06)
  5. Arrays   (10 Feb 2006)
  6. Control structures
    1. The if Structure   (19 Mar 2009)
    2. The switch Structure   (14 Jan 2006)
    3. The while Loop   (14 Jan 2006)
    4. The do while Loop   (14 Jan 2006)
    5. The for Loop   (14 Jan 2006)
    6. The foreach Loop   (14 Jan 2006)
  7. Functions   (10 Feb 2006)
  8. PHP Include Files
  9. Files   (12 Feb 2008)
  10. Mailing   (14 Jan 2006)
  11. Cookies   (14 Jan 2006)
  12. Sessions   (2008-05-07)
  13. Databases
    1. MySQL   (14 Jan 2006)
    2. PostgreSQL   (18 Apr 2009)
    3. PHP Data Objects   (18 Dec 2006)
    4. Neo4j
    5. DBAL
  14. Integration Methods (HTML Forms, etc.)   (14 Jan 2006)
  15. Regular expressions

Advanced PHP

Advanced PHP includes high level programming and PHP techniques designed to make PHP even more useful and powerful.

Data Structures

  1. Data Structures

Object Oriented Programming (OOP)

  1. Classes
  2. Special Methods
  3. Overriding and Overloading
  4. Inheritance
  5. SSH Class

Caching

  1. Caching

Templating

  1. Why Templating
  2. Templates
  3. Smarty templating system
  4. Flat Frog
  5. XML
  6. XSL

Libraries

  1. PHP PEAR
  2. PHP Manual Function Reference
  3. PHP 5 Functions

Frameworks

CakePHP CodeIgniter Drupal Kohana
Laravel Nette Qcodo Silverstripe
Solar Symfony Yii Zend

Security

  1. Configuration: Register Globals
  2. SQL Injection Attacks
  3. Building a secure user login system
  4. Cross Site Scripting Attacks (XSS)
  5. Secure HTTP headers
  6. Encryption

See also:

Command-Line Interface (CLI)

  1. PHP CLI
  2. PHP-GTK
  3. Daemonization

Appendices