![]() |
md5 problem in login
Problem in my login script. In my script password in md5 hash in the registration. registration is successful and the password is in md5 form in the database table.
But whenever I try to login is not == with md5 password in the database. Code Code:
Thanks in Advnace |
Re: md5 problem in login
Has the password been encrypted using PHP or MySQL?
If MySQL is checking the validity of the password then let MySQL encrypt the password, not PHP. There may be subtle differences between PHP and MySQL regarding encryption. Amend the SQL code so MySQL encrypts then checks the validity - just for consistency purposes: PHP Code:
|
Re: md5 problem in login
Quote:
|
| All times are GMT +5.5. The time now is 03:35. |