PHP 4.0 Bug #10464 Updated: PHP_AUTH_PW is not set altough PHP_AUTH_USER is
| From: | tisc at informatik dot tu-chemnitz dot de | Date: | Tue, 24 Apr 2001 07:55:10 +0000 |
| Subject: | PHP 4.0 Bug #10464 Updated: PHP_AUTH_PW is not set altough PHP_AUTH_USER is | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52257@lists.php.net to get a copy of this message | ||
ID: 10464
User Update by: tisc@informatik.tu-chemnitz.de
Status: Open
Bug Type: Apache related
Description: PHP_AUTH_PW is not set altough PHP_AUTH_USER is
Update: register_globals is turned on.
(see
http://www-usercgi.tu-chemnitz.de/~tisc/authtest.php3
for output of phpinfo() after authentication.)
Previous Comments:
---------------------------------------------------------------------------
[2001-04-24 03:49:16] tisc@informatik.tu-chemnitz.de
The, why is PHP_AUTH_USER set at all?
---------------------------------------------------------------------------
[2001-04-23 17:00:27] cmv@php.net
Sound like you don't have register_globals turned on in your php.ini.
- Colin
---------------------------------------------------------------------------
[2001-04-23 15:26:09] tisc@informatik.tu-chemnitz.de
I tried to authenticate via PHP. It worked with PHP3.
After tracing back and forth, I found that the global
variable PHP_AUTH_PW is not set or empty.
HTTP_SERVER_VARS["HTTP_AUTH_PW"] still contains the
right value.
I do not write to that variable (I checked with grep...)
See http://www-usercgi.tu-chemnitz.de/~tisc/authtest.php3
for a demonstration.
HTH! Tino.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10464