#20441 [Bgs->Opn]: PHP_AUTH_USER isn't set
| From: | philip@php.net | Date: | Wed, 11 Dec 2002 16:53:54 +0000 |
| Subject: | #20441 [Bgs->Opn]: PHP_AUTH_USER isn't set | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27373@lists.php.net to get a copy of this message | ||
ID: 20441
Updated by: philip@php.net
Reported By: gerwout@notenbomer.nl
-Status: Bogus
+Status: Open
Bug Type: Apache related
-Operating System: Redhat Linux 7.1 kernel 2.4.2-2
+Operating System: all
PHP Version: 4.3.0-pre2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
[2002-11-15 03:10:35] rasmus@php.net
You need to decide if you are using an external auth mechanism or http
auth from php. You can't do both.
------------------------------------------------------------------------
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