PHP Programming

Introduction

 * /Introduction/

Setup and Installation

 * Setup and Installation
 * Installation on Windows
 * Easy Windows Setup Instructions
 * Installation on Linux
 * Installation on Mac OS X
 * Uses of PHP

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

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!"
 * 2) Nuts and Bolts
 * 3) Commenting and Style
 * 4) Comparison operators
 * 5) Arrays
 * 6) Control structures
 * 7) The if Structure
 * 8) The switch Structure
 * 9) The while Loop
 * 10) The do while Loop
 * 11) The for Loop
 * 12) The foreach Loop
 * 13) Functions
 * 14) /PHP Include Files/
 * 15) Files
 * 16) * Images
 * 17) Mailing
 * 18) Cookies
 * 19) Sessions
 * 20) Databases
 * 21) MySQL
 * 22) * PHP and MySQL
 * 23) PostgreSQL
 * 24) PHP Data Objects
 * 25) Neo4j
 * 26) /DBAL/
 * 27) Integration Methods (HTML Forms, etc.)
 * 28) 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) * /Smarty templating system/Functions/
 * 5) * /Smarty templating system/Simple tutorial/
 * 6) /Flat Frog/
 * 7) /XML/
 * 8) /XSL/
 * 9) * /XSL/registerPHPFunctions/

Libraries

 * 1) PHP PEAR
 * 2) PHP Manual Function Reference
 * 3) PHP 5 Functions

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:
 * section on avoiding session fixation in the Sessions chapter.
 * (CSRF)

Command-Line Interface (CLI)

 * 1) /PHP CLI/
 * 2) /PHP-GTK/
 * 3) /Daemonization/

Appendices

 * /Alternative Hungarian Notation/
 * /Code Snippets/
 * /Coding Standards/
 * /formatting notes/
 * /Get Apache and PHP/
 * /headers and footers/
 * /html output/
 * /OOP5/Advanced Input validation/
 * /OOP5/Input validation/
 * /phpDocumentor/
 * /Reserved words/
 * /Contributors/