ID: 20441
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
It was fixed to be like it should be since PHP 3.
------------------------------------------------------------------------
[2002-11-15 03:52:04] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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