CS 6314.002Practice Work – 4

$40.00

Category: You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

Description

5/5 - (2 votes)

 

  1. html – Create a form that contains three input fields on it: name, usernameand password. When the form is submitted, it should go to login.php

 

  1. php

 

If the user provides input for all three fields, store user information (name and username) in session variables (*). Redirect user to welcome.php.

If user input is missing in one of the input fields, redirect user to login.html. You don’t need to display any error messages.

 

  1. php

 

Check if the user has signed in to the system: check if the session variables are set. If they are set, welcome user by using the session variables ‘name’ and ‘username’. Otherwise redirect user to login.html.

 

In welcome.php, show how many times user visited this page. Include a button to reload the page and include a checkbox to start over (sign out)

 

-destroy session variable at beginning,回到login.html.

 

* You can alternatively use cookies.