CSIS 3760 – Assignment 3 (Due on Feb. 10, 2013)

In this assignment, you will create a PHP file to handle the form that you developed in the second assignment. After the user submits the form, you will need to access (Unit Objectives #1, #2) information sent through the form fields listed below, validate the input using if, else, else if conditionals (Unit Objective #6, #7, #8, #10) and NOT operator (Unit Onjective #9), escape the data sent through textfield and textareas (Unit Objectives #4), and display them in the web browser after deleting the backslashes inserted when escaping the single/double quotation marks (Unit Objective #5). In addition, you will need to turn the server's display errors settings on (Unit Objective #13), and set the error reporting level to display all errors (Unit Objective #14) to be able to see the errors occurring in your file.
  1. Selected values for pull-down menu(s) and radio button(s) (Unit Objective #12)
  2. Typed values for text input field(s) and text area(s) (Unit Objective #11)
  3. Checked values for the checkboxes (Unit Objective #12)
  4. Error messages for any form element which is submitted without a value (Unit Objective #3)
Create a folder within the "e_commerce" folder you created in the first unit, and name this folder as "Assignment_3", and upload this file into the "Assignment_3" folder.