#29182 [Bgs]: $_SERVER['PHP_AUTH_USER'] missing ?

From: Date: Thu, 15 Jul 2004 09:51:11 +0000
Subject: #29182 [Bgs]: $_SERVER['PHP_AUTH_USER'] missing ?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62365@lists.php.net to get a copy of this message
ID: 29182 Updated by: derick@php.net Reported By: herve at elma dot fr Status: Bogus Bug Type: *General Issues Operating System: Linux PHP Version: 5.0.0 New Comment: Duplicate. See #29132 Previous Comments: ------------------------------------------------------------------------ [2004-07-15 11:48:01] tony2001@php.net Duplicate. See #29132 ------------------------------------------------------------------------ [2004-07-15 11:22:46] herve at elma dot fr Description: ------------ Since I have installed PHP-5.0.0 I do not have any answer to the command $_SERVER['PHP_AUTH_USER'] ... PHP_AUTH_USER seems to not being defined ... included in the phpinfo() ... !? With Apache 1.3.31, php compiled as a module. Reproduce code: --------------- <?php echo "USER = ".$_SERVER['PHP_AUTH_USER']; ?> Expected result: ---------------- The auth user name ... as explain in the PHP documentation : When running under Apache as module doing HTTP authentication this variable is set to the username provided by the user. Actual result: -------------- 'PHP_AUTH_USER' not defined. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29182&edit=1

« previous php.bugs (#62365) next »