Introduction to PHP Lesso n 1: Int ro duct io n Wo rking in Co deRunner Creating a File Managing yo ur Files Fo ur characteristics o f PHP 1. PHP is a server-side language, with HTML embedding. 2. PHP is a Parsed language. 3. PHP wo rks jo intly with SQL. 4. PHP is part o f the LAMP, WAMP, and MAMP stack. Lesso n 2: PHP Basics PHP Delimiters and Co mments Variables in PHP Mo difying Variables and Values with Operato rs Superglo bals $GLOBALS $_SERVER: $_GET $_POST Lesso n 3: De cisio ns Co mpariso n Operato rs and Co nditio ns IF and ELSE Co ntro l Structure Lo gical Operato rs A Brief Preview o f Fo rms Lesso n 4: Mult iple Co nt ro l St ruct ure s and Lo o ps Multiple Co ntro l Structures WHILE and FOR Lo o ps Lesso n 5: Funct io ns Creating Co de Reusability with Functio ns Functio n and Variable Sco pes Using Functio ns with Parameters and Return Values Sneaking In with Parameters Sneaking o ut with Return Values Multiple Parameters and Default Values Lesso n 6 : Arrays Creating an Array Asso ciative Arrays Creating Multi-Dimensio nal Arrays Traversing and Manipulating Arrays Traversing Asso ciative Arrays with list() and each() Mo re built-in functio ns
Lesso n 7: St rings What's a String Anyway? Manipulating Strings Other nifty string sho rtcuts Built-in String Functio ns Regular Expressio ns Character Ranges and Number o f Occurrences Excluding Characters Escaping Characters Lesso n 8 : Fixing Bro ke n PHP Things Pro fesso rs Do n't Talk Abo ut Eno ugh Debugging Tips Utilizing Erro r Messages Riddle-Me-This Erro r Messages Erro rs witho ut Erro r Messages Lo gical Erro rs Infinite Lo o ps, Infinite Headaches No tes o n Scalable Pro gramming Befo re yo u Co de, Pseudo co de Make yo ur Pro gram Readable Co mment Until Yo u're Blue in the Face Co de in Bite-Size Chunks Debug as Yo u Wo rk Reuse Functio ns as Much as Po ssible Utilize Available Reso urces Lesso n 9 : Fo rm s in PHP Fo rms Review Using Superglo bals to Read Fo rm Inputs Extracting Superglo bals into Variables Nesting Variable Names Lesso n 10 : Ut ilizing Int e rne t T o o ls Enviro nment and Server Variables Using HTTP Headers Manipulating Query Strings Custo mizing specific erro r messages Sending Emails Lesso n 11: Dat e and T im e Date and Time Standards Date and Time Functio ns Co nstructing Dates and Times Lesso n 12: Using File s Including and Requiring Files Reading and Writing Files
Allo wing Users to Do wnlo ad Files Lesso n 13: Co o kie s and Se ssio ns Using Co o kies Kno wing the User Thro ugh Sessio ns Deleting Sessio ns Lesso n 14: Final Pro je ct Final Pro ject Copyright © 1998-2014 O'Reilly Media, Inc. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. See http://creativecommons.org/licenses/by-sa/3.0/legalcode for more information.