Jump to content

[SOLVED] MD5 PHP/SQL Problem


beaux1

Recommended Posts

I'm having an MD5 problem when logging in with my PHP code.

 

Basically, the registration form encrypts the users password in MD5. That's all fine.

Then we have the login form, the password entered is then converted to MD5 so the SQL DB can validate it. I debugged it and the entered password is successfully being encrypted by echoing $password. My problem is that it doesn't validate with the SQL database and instead goes back to login.php (because it failed).

 

Any help would be greatly appreciated, thanks.

 

http://pastebin.ca/433142

Link to comment
https://forums.phpfreaks.com/topic/46461-solved-md5-phpsql-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.