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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!