Question
Open Login.php. 2. If the user clicks Login button, do the following: [ 1 Mark ] a. Declare two variables $USER and $PASS to read
Open Login.php.
2. If the user clicks Login button, do the following: [ 1 Mark ]
a. Declare two variables $USER and $PASS to read the user inputs from the username and password textboxes. [ 2 Marks ]
b. Check if the username and the password are correct from the Satff table:
i. If username and password are correct, Open SatffPage.php . [8.75 Marks]
ii. If username and password are not correct, display a message in the same page : Username or Password is not valid. [1 Mark]
3. In the footer tag , use for loop (or any loop) to print 80 hashes in each row you need 6 rows - as the following screenshot. [4.5 Marks]
It's php language
SATFF LOGIN PAGE ... Type your username here Type the password here Log Figure 3 - Login.phpStep 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