#37039 [Opn->Bgs]: getenv('PHP_AUTH_USER') does not work

From: Date: Tue, 11 Apr 2006 13:54:49 +0000
Subject: #37039 [Opn->Bgs]: getenv('PHP_AUTH_USER') does not work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95603@lists.php.net to get a copy of this message
ID: 37039 Updated by: sniper@php.net Reported By: php dot net at sebastianmendel dot de -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: Windows PHP Version: 5.1.2 New Comment: Of course not, it's not an environment variable. Previous Comments: ------------------------------------------------------------------------ [2006-04-11 13:08:17] php dot net at sebastianmendel dot de 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 this bug report at http://bugs.php.net/?id=37039&edit=1

« previous php.bugs (#95603) next »