Jump to content

[1.7.5.x] Login with standalone PHP


ang3lx

Recommended Posts

Hello

What is the correct encrypt command to have an user password?

I need to make a query on ps_customer table like this

$mypwd = md5(_COOKIE_KEY_.$plainpwd);
and 
SELECT * FROM ps_customer where email = AND passwd = $mypwd

but password stored in mysql is different from password generated with md5 of cookiekey+plainpassword

what is the right method to get the password encrypted in the right way?

thanks!

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...