marandia
Verified User
I have moved few accounts from a server with php4 to a server with php5.
I have a customer with this script, and since I've moved it, he can't login more:
Code:
Anyone with the same problem has fixed it?
Thanks in advance
Regards,
I have a customer with this script, and since I've moved it, he can't login more:
Code:
Code:
<?php
if (($PHP_AUTH_USER!="user") || ($PHP_AUTH_PW!="pass")) {
header('WWW-Authenticate: Basic realm="Please, user and pass:"');
header('HTTP/1.0 401 Unauthorized');
echo '***** ACCESS DENIED. ******';
exit;
}
?>
<html>
<head>
<meta http-equiv="Content-Language" content="es">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<body>
ACCESS OK!!!!!!!!!!!
</body>
</html>
Anyone with the same problem has fixed it?
Thanks in advance
Regards,