ID: 28867 User updated by: matt at atopia dot net Reported By: matt at atopia dot net -Status: Feedback +Status: Open Bug Type: Variables related Operating System: FreeBSD 4.10 PHP Version: 4.3.7 New Comment:
PHP Info At: http://www.atopia.net/test/mozbug215479/displayinfo25472358158709325.php user/pass: test/test php.ini is same as php-dist.ini in the source. Previous Comments: ------------------------------------------------------------------------ [2004-06-25 16:07:49] [EMAIL PROTECTED] I have just tested this and the bug cannot be reproduced on Linux with nearly the same configuration. Could you please append phpinfo() at the end of step2.php so that we can have a look at possible configuration differences. Also plase post your php.ini on your site. ------------------------------------------------------------------------ [2004-06-21 16:12:24] matt at atopia dot net Description: ------------ This was originally posted as a mozilla firefox bug, and left open for a good 9 months until today... http://bugzilla.mozilla.org/show_bug.cgi?id=215479 Seems it has been described as a bug in PHP... Originally, the problem I was experiencing last September was the following: After HTTP authentication, both variables (PHP_AUTH_USER and REMOTE_USER) would be set until I submitted a form that used method=post. After that, neither variable would be set until I visited a page using GET (not post). Then, both variables would reset themselves (I assume because the browser posts the username/pass each request with HTTP authentication). Originally, the problem occured with HTTP and HTTPS, so I have setup two different test cases. As of now, I am currently experiencing this problem still, but only with the REMOTE_USER variable. A new version of PHP seems to have fixed the PHP_AUTH_USER problem. (this will all be shown in the test case). Reproduce code: --------------- http://www.atopia.net/test/mozbug215479/step1.php https://secure.webaries.com/atopia/test/mozbug215479/step1.php User/Pass: test/test Source code is available for both of the files by replacing .php with .source ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28867&edit=1