Question: Authentication: A program named login1.php be called to do the following functions after the Submit button is clicked. The customer login and password must be

Authentication: A program named login1.php be called to do the following functions after the Submit button is clicked. The customer login and password must be read from the table CPS.Customers. Login and password cannot be hard coded in the program.(There is a table in a database we have to access for this info) The input login should NOT be case sensitive, but the password should be case sensitive. If the login or password is empty, please show corresponding error messages and exit the program and NOT access the database. If both login and password are not empty, the program should access the table CPS.Customers to verify the login and password. If the login does not exist in the database, please display an error message Login XXXX doesnt exist in the database and exit the program. If the login exists in the database, but password doesnt match the record in database, please display an error message login xxxx exists, but password not matches. and exit the program.

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!