Advertisement
23r9i0

hilo #64360

Jul 20th, 2012
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. <?php
  2. require_once( ABSPATH . 'wp-includes/class-phpass.php' );
  3. $wp_hasher = new PasswordHash(8, TRUE);
  4.  
  5. $password_hashed = 'aqui la contraseña codificada';
  6. $plain_password = 'aqui la contraseña que pones al ingreso';
  7.  
  8. if($wp_hasher->CheckPassword($plain_password, $password_hashed)) {
  9.     echo "YES, Matched";
  10. } else {
  11.     echo "No, Wrong Password";
  12. }
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement