PHP Programming
Appearance
From Wikibooks, open books for an open world
A printable version of PHP Programming is available. (edit it)
A PDF version is available. (info)
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.
- Beginning with "Hello World!" 100% developed as of 10 Feb 2006 (10 Feb 2006)
- Nuts and Bolts 75% developed as of 14 Jan 2006 (14 Jan 2006)
- Commenting and Style 100% developed as of 14 Jan 2006 (14 Jan 2006)
- Comparison operators 75% developed as of 2016年04月06日 (2016年04月06日)
- Arrays 75% developed as of 10 Feb 2006 (10 Feb 2006)
- Control structures
- The if Structure 75% developed as of 19 Mar 2009 (19 Mar 2009)
- The switch Structure 75% developed as of 14 Jan 2006 (14 Jan 2006)
- The while Loop 75% developed as of 14 Jan 2006 (14 Jan 2006)
- The do while Loop 50% developed as of 14 Jan 2006 (14 Jan 2006)
- The for Loop 50% developed as of 14 Jan 2006 (14 Jan 2006)
- The foreach Loop 75% developed as of 14 Jan 2006 (14 Jan 2006)
- Functions 75% developed as of 10 Feb 2006 (10 Feb 2006)
- PHP Include Files
- Files 100% developed as of 12 Feb 2008 (12 Feb 2008)
- Mailing 50% developed as of 14 Jan 2006 (14 Jan 2006)
- Cookies 75% developed as of 14 Jan 2006 (14 Jan 2006)
- Sessions 75% developed as of 2008年05月07日 (2008年05月07日)
- Databases
- MySQL 75% developed as of 14 Jan 2006 (14 Jan 2006)
- PostgreSQL 25% developed as of 18 Apr 2009 (18 Apr 2009)
- PHP Data Objects 0% developed as of 18 Dec 2006 (18 Dec 2006)
- Neo4j
- DBAL
- Integration Methods (HTML Forms, etc.) 75% developed as of 14 Jan 2006 (14 Jan 2006)
- Regular expressions
Advanced PHP
- Advanced PHP includes high level programming and PHP techniques designed to make PHP even more useful and powerful.
Data Structures
Object Oriented Programming (OOP)
Caching
Templating
Libraries
Frameworks
Security
- Configuration: Register Globals
- SQL Injection Attacks
- Building a secure user login system
- Cross Site Scripting Attacks (XSS)
- Secure HTTP headers
- Encryption
See also:
Command-Line Interface (CLI)
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