Bug #709: FORM METHOD=POST resp. GET environment variable loss
| From: | fork-info at edd dot ericsson dot se | Date: | Mon, 31 Aug 1998 17:47:37 +0000 |
| Subject: | Bug #709: FORM METHOD=POST resp. GET environment variable loss | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-695@lists.php.net to get a copy of this message | ||
From: fork-info@edd.ericsson.se
Operating system: Solaris 2.5.1
PHP version: 3.0.3
PHP Bug Type: Misbehaving function
Bug description:
Hello,
please find attached the file which causes problems
regarding Apache environment variables.
Our Configuration (according to phpinfo()):
Server: Apache/1.3.0 (Unix) PHP/3.0.1 Client: Mozilla/4.05 [en] (X11; I;
SunOS 5.6 sun4u)
Problem:
POSTing from a form: REMOTE_USER gets lost,
GETting the same: REMOTE_USER remains available.
(Change the METHOD below to see the effect.)
Please report back to "fork-info@edd.ericsson.se"
Thanks in advance.
///Stephan.
---
Stephan Joest, Ericsson GmbH, Duesseldorf, Germany.
--- file: thisfile.php3 ---
<HTML>
<HEAD>
</HEAD>
<BODY>
<TABLE WIDTH=100% BORDER=0>
<TR><TD VALIGN=TOP ALIGN=CENTER>Your ID:
<?
echo getenv("REMOTE_USER");
?>
</TD></TR></TABLE>
<CENTER>
<FORM METHOD=POST ACTION=./thisfile.php3>
<INPUT TYPE=SUBMIT VALUE="Submit">
</FORM>
</CENTER>
</BODY>
</HTML>
--- end of file ---
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net