php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #709 FORM METHOD=POST resp. GET environment variable loss
Submitted: 1998-08-31 13:47 UTC Modified: 1998-09-12 16:04 UTC
From: fork-info at edd dot ericsson dot se Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.3 OS: Solaris 2.5.1
Private report: No CVE-ID: None
 [1998-08-31 13:47 UTC] fork-info at edd dot ericsson dot se
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 ---

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-12 16:04 UTC] rasmus
I am also unable to reproduce this bug.  Closing.  If someone can reproduce it in current versions of PHP and Apache, please resubmit.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 13:01:35 2024 UTC