Make an XML file. Then make a PHP page that reads and presents the
XML data on your page. Your PHP page should also include some CSS,
at least ten attribute-value pairs.
In addition to sending me the link you must zip up and send me the
XML, PHP and any other files you use.
Due: Mar 23
Material not covered on Tuesday before break RegularExpressions.ppt presentation on
using regular expression in validation EnterUserData5.zip (validation with both
client-side and server-side validation using regular expressions for
first name and email) EnterUserData6.zip (Sees if a radio
button was selected from the group.)
Create a webpage with a form that allows a user to submit information to
the server. The PHP "handler" should display the
information back to the user. The page should collect the following
data from a user:
First Name
Last Name
Birthdate (e.g. 08/08/1988)
Street Address 1
Street Address 2 (could be empty)
City
State Code (e.g. PA)
Zip (US format with five or nine digits)
Phone Number (US format including an area code)
Email Address
The information should be validated on both the client and server sides. (The
client-side validation should not submit data of improper format, so remember to
shut off your client-side validation to check your server-side validation.) Your
validation should use regular expressions. You can use regular expressions that
you find on the Internet so long as you cite your source.
Post the files and also zip the files. Send me the zipped files and a hyperlink
to the posted page.