Advertisement
Guest User

Untitled

a guest
Jul 29th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. $t_hasher = new PasswordHash(10, TRUE);
  2. $jpassword = $t_hasher->HashPassword($rsnew["password"]);
  3.  
  4. $mysql = "SELECT password FROM jos_users WHERE username = '".$usr."'";
  5. $t_hasher = new PasswordHash(10, TRUE);
  6. if ($t_hasher->CheckPassword($pwd, $mydb->get_var($mysql))) {
  7. return TRUE;
  8. .........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement