Re: PHP connection problem, I can't get success with loging in though I think I use corect login and password...
Posted by MIUSS on 04/27/07 18:13
Hi!
I'm little confused, I tried more things but I still didn't get
success.
I think this should be corect:
$sql = mysql_query("SELECT * FROM autori
WHERE login LIKE \"".
$_SERVER['PHP_AUTH_USER']."\"
AND pass LIKE
\"".md5($_SERVER['PHP_AUTH_PW'])."\"
AND stav LIKE a\";");