php_auth_user not passed back to Apache
| From: | claude 90 | Date: | Mon, 04 Dec 2000 05:16:51 +0000 |
| Subject: | php_auth_user not passed back to Apache | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4263@lists.php.net to get a copy of this message | ||
Hello,
I'm using Apache 1.3.14/php4 (module) running on W98.
I have a problem using PHP authentification. The simple program I'm using is:
<?php
if(!isset($PHP_AUTH_USER)) {
Header("WWW-Authenticate: Basic realm=\"Intranet\"");
Header("Status: 401 Unauthorized");
} else {
echo $PHP_AUTH_USER;
}
?>
and it doesn't work. It looks like the value of php_auth_user is never set... I'm desesperate...
Thanks,
Claude
_____________________________________________________________________________________
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com