Hi!
My webhost has just updated to PHP 4.1 and now this loggin script does not
work.
 I get "page can´t be found..."
---
if ( (!isset($PHP_AUTH_USER)) || ! (($PHP_AUTH_USER == $st_LOGIN) &&
($PHP_AUTH_PW == "$st_PASSWORD" )) )
{
  header("WWW-Authenticate: Basic entrer=\"Admin Basta\"");
  header("HTTP/1.0 401 Unauthorized");
  echo "Access in-autorizado...";
  exit;
}
It worked well under PHP 4.04.
Anbody knows why?

Thanks in advance for any help.
Regards,
Jan


--
Jan Grafström
Lillemans Hus AB
Sweden
46 (0)611-60920
46 (0)70-6409073


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to