Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions