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

From: Date: Thu, 15 Jul 2004 09:22:47 +0000
Subject: #29182 [NEW]: $_SERVER['PHP_AUTH_USER'] missing ?
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62355@lists.php.net to get a copy of this message
From: herve at elma dot fr Operating system: Linux PHP version: 5.0.0 PHP Bug Type: *General Issues Bug description: $_SERVER['PHP_AUTH_USER'] missing ? 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 bug report at http://bugs.php.net/?id=29182&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29182&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29182&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29182&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29182&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29182&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29182&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29182&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29182&r=support Expected behavior: http://bugs.php.net/fix.php?id=29182&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29182&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29182&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29182&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29182&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29182&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29182&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29182&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29182&r=float

« previous php.bugs (#62355) next »