![]() |
PHP/Oracle Development
|
![]() |
Project V Functions
Task: You are going to develop a simple authentication function and implement the authentication function with your PHP code. The authentication function will be named as: authenticate ($user, $password). It will perform the following logical operation. If the user name is not "php_oracle," the following message will be displayed to the user: "Your user name does not exist in the system." (20 points) If the user name is "php_oracle" but the password is not "superman," the following message will be displayed: "Your password did not match with the system." (20 points) If the user name is "php_oracle" and password is "superman," display the following message: "Congratulations. You are in the professional club." (20 points) Please note that the punctuation (such as " or ,) are not part the project specification.
PHP Program Requirements: You are required to submit one PHP program file, which will conform to the following specifications:
Standard for File Name: We are going to practice a typical software development practice. That is, everyone is going to use a standardized convention for naming your project files. Please name your file as firstname_lastname_project5.php, where firstname and lastname are your first and last name, respectively, and "_" is underscore. The file naming convention will be enforced throughout this semester. Five (5) points will be taken off if the file is not named according to the convention. Please submit your project on D2L according to the deadline established on the course schedule. |