Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This assignment will require 3 short pages. A login page where the user enters their username and password. If the login is successful the user
This assignment will require 3 short pages. A login page where the user enters their username and password. If the login is successful the user is directed to a quiz page which displays their name and a very short quiz. When the user submits the quiz they are directed to a results page that displays both their name and the quiz results. The results page also allows logging out. A failed login takes the user back to the login page You should not be able to access the quiz page or the results page unless there has been a successful login. Attempts to directly access the quiz or the result should be redirected to login. The first page, login.php. The login page (which should be named login.php, not sessionLogin.php) needs 2 textboxes, one for a user name and one for the password. The image below shows the possible list of user names that can successfully log in (Linda, Ralph, Sam). To simplify things, all users have the same password: password. As long as all necessary form elements are present you can style the form any way you want. 83 Login Page -> localhost/session Log.n.php Login to CIS9 web page Name (Linda, Ralph, Sam) Password (password) Log in You need to authenticate the user by insuring the user's input credentials match an entry in following associative array which should be present in your code SallUsers array( Linda" => "password" Ralph Sam" => "password" "password", " =>
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