Question
In this assignment you are asked to implement a survey web page where users can log in with their credentials to a secure web page
In this assignment you are asked to implement a survey web page where users can log in with their credentials to a secure web page and take a survey of your choice, (i.e., which pop star are you?). To that end, first, your script should display login and registration form to get the users username and password if they already sign in, if not they should sign in for a new user. After logging in, a PHP session should be opened for that specific login or registration. In this session, you will display another form which includes the survey. Your script should terminate the session after the submission of the survey. At the end of the survey, before exiting, it should dump all the survey responses to a DataBase ( The database should hold all the user name and password and what they did in the survey) You should create an admin user with the user name: Admin, password: 1234. The admin only can see the usernames and passwords and what is the result when they answer the survey.
Note: The design should be very simple and don't forget when the user finishes the survey they will be able to log out.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started