PHP Assignment 7-8

Create a session  application that implements a multiple choice exam with the following four screens:

a. An initial screen to collect a name and email address  and   user password.
    You should check the email  address to see that it is a valid formation of an email address .
b. A second screen that asks two multiple-choice questions. (You choose the questions)
c. A third screen that asks two more multiple-choice questions.
d. A final screen that summarizes the users answers, scores the tests, and thanks the user for participating.

Output the user's name on the second , third and fourth screens. If the users makes an input error(like not filling
in a field), notify the user and enable him/her to use the back button to reenter the data. Also allow the results of the
test to be emailed to the address given by the user as well as be emailed to me at :gwiggins@mc.edu.Finally save
user name and result to a file and display the results of the entire file to the browser window  if the user enters a valid
encrypted password for the given user on screen one. This validation will be done, as in the midterm exam, through a seperate
encrypted password file.You can reuse your mid-term exam conde to allow the user to create a  valid  username
and password entry in this file.

This will count as exercises 7-8 .