File Descriptions
Following are descriptions of the PHP files that make up the Final Project.
final.php (original) - login form that prompts for user and password, validates existing user, adds new users; if validated, passes on to example.8-5.php
example.8-5.php (modified from example in O'Reilly book) - displays customer data; accepts changes, does client-side validation of fields with Javascript
example.8-4.php (modified from example in O'Reilly book) - does server side validation of data, writes validated data to database
customer_receipt.php (modified from example in O'Reilly book) - summarizes changes to customer record, destroys session
db.inc (modified from example in O'Reilly book) - MySQL logon information: hostName, databaseName, username, and password
error.inc (modified from example in O'Reilly book) - function showerror()
To get a copy of the PHP source code in a zip file, send me an email: .
final.php (original) - login form that prompts for user and password, validates existing user, adds new users; if validated, passes on to example.8-5.php
example.8-5.php (modified from example in O'Reilly book) - displays customer data; accepts changes, does client-side validation of fields with Javascript
example.8-4.php (modified from example in O'Reilly book) - does server side validation of data, writes validated data to database
customer_receipt.php (modified from example in O'Reilly book) - summarizes changes to customer record, destroys session
db.inc (modified from example in O'Reilly book) - MySQL logon information: hostName, databaseName, username, and password
error.inc (modified from example in O'Reilly book) - function showerror()
To get a copy of the PHP source code in a zip file, send me an email: .