I have a pretty basic login script on a couple of websites that does some basic page protection. I store a name and password in a MySQL database, using the PHP PASSWORD function to get hash the password and match it in my MySQL query. This worked until today, probably after the upgrade.
Query is basically:
SELECT * FROM user WHERE username = '$uid' AND password = PASSWORD('$pwd')
I ran the query in PhpMyAdmin and did not get a match either. Anybody know if something changed in PHP or MySQL for the PASSWORD hash?
Oh yea, I'm on Cpanel 32.
Thanks.
rca
Query is basically:
SELECT * FROM user WHERE username = '$uid' AND password = PASSWORD('$pwd')
I ran the query in PhpMyAdmin and did not get a match either. Anybody know if something changed in PHP or MySQL for the PASSWORD hash?
Oh yea, I'm on Cpanel 32.
Thanks.
rca
Comment