Posted by Michael Fesser on 01/10/08 11:32
..oO(Karl)
>I have a login pages with two fields. One for username and one for
>password.
>The username and password are stored in a mysql table.
>
>When I am using plain-text password. It is no problem to login.
>But when I use the PASSWORD() function, it is not possible to login at
>all.
>
>Is it because of the way I query the database?
We don't know how you query the database since you didn't post any
query. But if you use PASSWORD() to store the passwords, then of course
you also have to call PASSWORD() when you compare the user-submitted PW
with the stored one.
Micha
Navigation:
[Reply to this message]
|