Re: Problems when using PASSWORD( $pass) in PHP/MySql
Posted by Karl on 01/10/08 13:52
Michael Fesser wrote:
> SELECT ...
> FROM yourAuthTable
> WHERE username = '$username'
> AND password = PASSWORD('$password')
>
> where $username and $password contain the validated and sanitized values
> (see mysql_real_escape_string()) from the form on your HTML page.
>
Thank you!