Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $checkONE = mysql_query("SELECT * FROM users WHERE username = '$_POST[username]' AND password = md5($_POST[password])") or die(mysql_error());
- $checkTWO = mysql_num_rows($checkONE);
- if($checkTWO == 0)
- {
- login();
- die('Sorry, The User/Pass Cobonation Was Incorrect, Please Try Again');
- }
- else
- {
- all my sessions and what not
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement