#28867 [Opn->Fbk]: Variables not being passed on form post
| From: | edink@php.net | Date: | Fri, 25 Jun 2004 14:07:53 +0000 |
| Subject: | #28867 [Opn->Fbk]: Variables not being passed on form post | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-61366@lists.php.net to get a copy of this message | ||
ID: 28867
Updated by: edink@php.net
Reported By: matt at atopia dot net
-Status: Open
+Status: Feedback
Bug Type: Variables related
Operating System: FreeBSD 4.10
PHP Version: 4.3.7
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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