[PHP-DEV] Bug #709: FORM METHOD=POST resp. GET environment variable loss From: fork-info <email protected>
Date: 08/31/98

From: fork-info <email protected>
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 <email protected>"

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 <email protected> For help: php-dev-help <email protected>