Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once( ABSPATH . 'wp-includes/class-phpass.php' );
- $wp_hasher = new PasswordHash(8, TRUE);
- $password_hashed = 'aqui la contraseña codificada';
- $plain_password = 'aqui la contraseña que pones al ingreso';
- if($wp_hasher->CheckPassword($plain_password, $password_hashed)) {
- echo "YES, Matched";
- } else {
- echo "No, Wrong Password";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement