Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //This grabs the information that has been entered in the two text boxes
- $username = $_POST ["username"];
- $password = $_POST ["password"];
- //Checks to see that the correct username and password has been entered
- if ($username == "test" AND $password == "pass")
- {
- //If test and pass has been entered the following information will be printed
- print "Log in Successful.";
- }Else
- {
- //If test and pass has not been entered the following information will be printed
- print "Your Username and Password incorrect<br />\n";
- }
- ?>
Add Comment
Please, Sign In to add comment