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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fork-info at edd dot ericsson dot se
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 15 22:00:02 2026 UTC