#20441 [Opn->Bgs]: PHP_AUTH_USER isn't set

From: Date: Wed, 11 Dec 2002 16:58:20 +0000
Subject: #20441 [Opn->Bgs]: PHP_AUTH_USER isn't set
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27376@lists.php.net to get a copy of this message
ID: 20441 Updated by: derick@php.net Reported By: gerwout@notenbomer.nl -Status: Open +Status: Bogus Bug Type: Apache related Operating System: all PHP Version: 4.3.0-pre2 New Comment: We fixed a bug, period. Derick Previous Comments: ------------------------------------------------------------------------ [2002-12-11 10:53:53] philip@php.net Can someone explain this? Apparently some external auth systems did not populate PHP_AUTH_USER while others did... Was this BC break discussed? It has been documented forever but this behavior changed so please explain it. ------------------------------------------------------------------------ [2002-12-11 10:39:14] croatia@firstlinux.net I agree with the previous poster that this is a serious bug. When we upgraded to 4.3.0RC2 our development application broke. ------------------------------------------------------------------------ [2002-11-22 02:40:55] angry@notbogus.net This is not bogus!! This is a genuine bug. PHP_AUTH_USER was set in 4.2.3 why has the functionality been changed without warning? This will break so many peoples scripts it is not true. This *HAS TO BE FIXED* os that it works as it did before. Please stop trying to pretend that this is not a bug. It is, and a serious one at that. ------------------------------------------------------------------------ [2002-11-15 09:10:09] sniper@php.net It was fixed to be like it should be since PHP 3. ------------------------------------------------------------------------ [2002-11-15 03:52:04] gerwout@notenbomer.nl So I should use $_SERVER["REMOTE_USER"] if I use .htaccess and $_SERVER["PHP_AUTH_USER"] when I header the authentication? Why is this behaviour changed without notice? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20441 -- Edit this bug report at http://bugs.php.net/?id=20441&edit=1

« previous php.bugs (#27376) next »