Question: Help with php code. Comments are things to be done on the code. The code is two different files but for the picture I just
Help with php code. Comments are things to be done on the code. The code is two different files but for the picture I just put all code into one notepad.
Code below:
adminmenu.php files are separate just wanted to fit both in picture
html
head
Administrator Menu
authenticate.php second file
show page below
else
compare $pwd to the password from the users table
if $pwd is good:
put the username into the session with a the key: 'user"
redirect browser to adminmenu.php
else show page below dont give Mallory any clues
WARNING!
Don't confuse the username root and password empty string for
the MySQL database with the usernamepassword from the form!!
body
Invalid username andor password.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
