Firstly, hello and thanks for any help you can provide. I have googled, searched this forum, and the other forum with no luck...
How do I check the password hash in the database vs the one in the cookie?
the cookie hash is b30ae4a1e6fcc61081fef158a1d4e4a8
What do I do to the hash in the user table to get it to match the hash in the cookie?
I've tried the following:
PHP Code:
$passwordHashed = md5(md5(md5($userPassword) . $userSalt) . "MYLICENSE#here");
where $userSalt is the salt from the user table, and $userPassword is the hash in the user table.
Also is this documented anywhere?
Cheers,
Gordon
--------------- Added [DATE]1197084218[/DATE] at [TIME]1197084218[/TIME] ---------------
ok I found the answer
for anyone who needs to know, to make the password in your user table match (for authentication) the cookie:
$cookiePassword == md5($dataPassword . "yourlicensenumber");
basically it is the license number appended to the hash in the table, and then the md5 of that.