Question: login.php should check that the given user name exists in the pass.txt file. It should also calculate the SHA-1 hash of the given password. If
login.php should check that the given user name exists in the pass.txt file. It should also calculate the SHA-1 hash of the given password. If the user name and hashed password pair match, provide a link to the user to the accessData.html page. If they do not exist, print and error message, with a link back to the start.html page.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
