a guest Oct 3rd, 2017 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- $username = $_POST['username'];
- $password= $_POST['username'];
- > Get the row from the database for username = username
- > Hash $password with the 2nd argument as the hash from the database
- > if $password = our hashed result, then the password was correct
RAW Paste Data