From: php dot net at sebastianmendel dot de
Operating system: Windows
PHP version: 5.1.2
PHP Bug Type: Unknown/Other Function
Bug description: getenv('PHP_AUTH_USER') does not work
Description:
------------
getenv('PHP_AUTH_USER') does not work
tested with 4.4.2 and 5.1.2 on Apache 2 on Windows
Reproduce code:
---------------
echo 'getenv(): ' . getenv('PHP_AUTH_USER') . "\n";
echo '$_SERVER: ' . $_SERVER['PHP_AUTH_USER'] . "\n";
Expected result:
----------------
getenv(): user
$_SERVER: user
Actual result:
--------------
getenv():
$_SERVER: user
--
Edit bug report at http://bugs.php.net/?id=37039&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=37039&r=trysnapshot44
Try a CVS snapshot (PHP 5.1):
http://bugs.php.net/fix.php?id=37039&r=trysnapshot51
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=37039&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37039&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=37039&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37039&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37039&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37039&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37039&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37039&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=37039&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=37039&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37039&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37039&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37039&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37039&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37039&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37039&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37039&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37039&r=mysqlcfg