Introduction. Installing Apache and PHP on Windows. To Install Apache. To Install PHP. Installing Apache and PHP on Linux. To Install Apache. To Install PHP. The php.ini File. Comments in Scripts.
About the Author.
1. Getting Started.
2. Your First Dynamic Web Pages.
The Basics of Server-Side Scripting. New Functions. Conventions in PHP. PHP Start and End Tags. Semicolons. Embedding PHP into Your HTML Pages. Understanding Variables. Using Data from a Form. Passing Information through a Form and Links. Recap. Advanced Project.
3. User Interaction: PHP with Forms and Cookies.
User Interaction. New Functions. Session Cookies. Cookies That Expire after X Seconds. Arrays. Creating Your Own Functions. Checking User-Entered Data for Required Fields. Having Fun with Cookies. Working with Arrays. Recap. Advanced Project.
4. Files, Strings, and Mail.
More Tools for Your PHP Arsenal. New Functions. File Processing Functions. String Functions. Opening and Displaying the Contents of a File. Using String Functions to Check Data. Creating a Simple Feedback Script. Project: Customer Service Feedback Page. Recap. Advanced Projects.
5. Templates and Modularization.
New Functions. The Power of Modularity. Project: Modularizing the Stitch Website. Recap. Advanced Project.
6. Dynamically Created Templates.
New Functions. Dynamic Templates. Project: The Dynamic Article Page. Recap. Advanced Project.
7. Let the Data Drive.
Good Things Come in Free Packages. New Functions. Installing MySQL. Setting up PHP to Work with MySQL. SQL Queries. Setting up a Simple Database. Basic SQL Queries. Inserting Data. Modifying Data. Deleting Data. Putting Content into Your Database with PHP. Getting Content out of Your Database with PHP. Recap.
8. More Robust Data-Driven Applications.
Using Multiple Data Tables. User Authentication. Project: Creating a Mini Slashdot for the Stitch Site. Recap. Advanced Project.
9. PHP and MySQL References.
HTML Editors that Play Nice with PHP. Allaire HomeSite 4.5. Macromedia Dreamweaver 3. Macromedia and HomeSite Together. VIM. Finding Help. The PHP Mailing List. Mailing List Archives. PHP Knowledge Base. phpbuilder.com. Zend Technologies. MySQL Function List.