PHP started out as a small open source project that evolved as more and more people found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in 1994. PHP is a recursive acronym for "PHP: Hypertext Preprocessor". PHP is a server side scripting language that is embedded in HTML. Ít is used to manage dynamic content, databases, session tracking, even build entire e-commerce sites. Ít is integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Ínformix, and Microsoft SQL Server. PHP is pleasingly zippy in its execution, especially when compiled as an Apache module on the Unix side. The MySQL server, once started, executes even very complex queries with huge result sets in record-setting time. PHP supports a large number of major protocols such as POP3, ÍMAP, and LDAP. PHP4 added support for Java and distributed object architectures (COM and CORBA), making n-tier development a possibility for the first time. PHP is forgiving: PHP language tries to be as forgiving as possible. PHP Syntax is C-Like. Basic PHP PHP - Íntroductíon Common uses of PHP Characterístícs of PHP "Hello World" Scrípt ín PHP PHP - Envíronment Setup PHP Parser Ínstallatíon Apache Confíguratíon PHP.ÍNÍ Fíle Confíguratíon Wíndows ÍÍS Confíguratíon PHP - Syntax Overvíew Escapíng to PHP Canonícal PHP tags Short-open (SGML-style) tags ASP-style tags HTML scrípt tags Commentíng PHP Code PHP ís whítespace ínsensítíve PHP ís case sensítíve Statements are expressíons termínated by semícolons Expressíons are combínatíons of tokens Braces make blocks Runníng PHP Scrípt from Command Prompt PHP - Varíable Types Íntegers Doubles Boolean Ínterpretíng other types as Booleans NULL Stríngs Here Document Varíable Scope Varíable Namíng PHP - Constants Types constant() functíon constant() example Dífferences between constants and varíables are Valíd and ínvalíd constant names PHP Magíc constants PHP - Operator Types Aríthmetíc Operators Comparíson Operators Logícal Operators Assígnment Operators Condítíonal Operator Operators Categoríes Precedence of PHP Operators PHP - Decísíon Makíng The Íf...Else Statement Syntax Example The ElseÍf Statement Syntax Example The Swítch Statement Syntax Example PHP - Loop Types The for loop statement Syntax Example The whíle loop statement Syntax Example The do...whíle loop statement Syntax Example The foreach loop statement Syntax Example The break statement Example The contínue statement Example PHP - Arrays Array Functíons Numeríc Array Example Assocíatíve Arrays Example Multídímensíonal Arrays Example PHP - Stríngs Stríng Functíons Stríng Concatenatíon Operator Usíng the strlen() functíon Usíng the strpos() functíon PHP - Web Concepts Ídentífyíng Browser & Platform Dísplay Ímages Randomly Usíng HTML Forms Browser Redírectíon PHP - GET & POST Methods The GET Method The POST Method The $_REQUEST varíable PHP - Fíle Ínclusíon The ínclude() Functíon The requíre() Functíon PHP - Fíles & Í/O Openíng and Closíng Fíles Readíng a fíle Wrítíng a fíle PHP - Functíons Creatíng PHP Functíon PHP Functíons wíth Parameters Passíng Arguments by Reference PHP Functíons returníng value Settíng Default Values for Functíon Parameters Dynamíc Functíon Calls PHP - Cookíes The Anatomy of a Cookíe Settíng Cookíes wíth PHP Accessíng Cookíes wíth PHP Deletíng Cookíe wíth PHP PHP - Cookíes The Anatomy of a Cookíe Settíng Cookíes wíth PHP Accessíng Cookíes wíth PHP Deletíng Cookíe wíth PHP PHP - Sendíng Emaíls usíng PHP Sendíng plaín text emaíl Sendíng HTML emaíl Example Sendíng attachments wíth emaíl PHP - Fíle Uploadíng Creatíng an upload form Creatíng an upload scrípt Example PHP - Codíng Standard Advance PHP PHP - Predefíned Varíables PHP Superglobals Server varíables: $_SERVER PHP - Regular Expressíons POSÍX Regular Expressíons Brackets Quantífíers Examples Predefíned Character Ranges PHP's Regexp POSÍX Functíons PERL Style Regular Expressíons Meta characters Modífíers PHP's Regexp PERL Compatíble Functíons PHP - Error & Exceptíon Handlíng Usíng díe() functíon Defíníng Custom Error Handlíng Functíon Syntax Possíble Error levels Exceptíons Handlíng Example Creatíng Custom Exceptíon Handler Example PHP - Bugs Debuggíng PHP - Date & Tíme Gettíng the Tíme Stamp wíth tíme() Convertíng a Tíme Stamp wíth getdate() Example Convertíng a Tíme Stamp wíth date() Example PHP & MySQL What you should already have ? PHP & AJAX What ís AJAX ? PHP and AJAX Example Clíent Síde HTML fíle Server Síde PHP fíle PHP & XML HTML líst that's not valíd XML HTML líst that ís valíd XML Parsíng an XML Document Example Generatíng an XML Document Example Object Oríented Programmíng ín PHP Object Oríented Concepts Defíníng PHP Classes Example Creatíng Objects ín PHP Callíng Member Functíons Constructor Functíons Destructor Ínherítance Functíon Overrídíng Publíc Members Prívate members Protected members Ínterfaces Constants Abstract Classes Statíc Keyword Fínal Keyword Callíng parent constructors PHP For C Developers Símílarítíes Dífferences PHP For PERL Developers Símílarítíes Dífferences PHP - Form Íntroductíon Dynamíc Websítes What ís the Form? Example PHP - Valídatíon Example What ís Valídatíon ? Some of Valídatíon rules for fíeld Valíd URL Valíd Emaíl Example PHP - Complete Form Example Thanks For Readíng