php - Use wordpress database for other script -


My website was used to work on the WordPress engine but now I am writing my script. The problem is that the user password is encoded in a weird way in the wp_users table ... Can anyone please tell me how should I encode it so that it can work on my new script?

"Encoded" password is called a hash. Look through the WordPress code where it inserts the user and finds out how the password has been found. Use the same type of plan This will probably use salt, how do I know how WordPress works, but you'll need the cost of that salt and also the exact match.

Edit:

By doing some research, you would want to take a look at around 1200 wp-included / pluggable.php file in the line. There should be salt and password generator techniques stored there (or at least I think, I did not open it very deep).


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -