php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2860 I loose $REMOTE_USER
Submitted: 1999-11-29 18:21 UTC Modified: 1999-11-29 22:02 UTC
From: sbernard at mouzaia dot com Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 2 OS: bsdi 4
Private report: No CVE-ID: None
 [1999-11-29 18:21 UTC] sbernard at mouzaia dot com
<?
if($REQUEST_METHOD=="POST")
	{
	print($REMOTE_USER);
	}

print($REMOTE_USER);
print("<FORM ACTION='./essai.phtml' METHOD='POST' ENCTYPE='x-www-form-urlencoded'>");
print("<input type=TEXT name=TEXT size=50><br>");
print("<input type=submit name=Submit value='clic !'></font>");
?>

if I run this in a protected (.htaccess) dir, as it is, I loose $REMOTE_USER once I have filled and clicked.

If I use method 'GET', it works. I am almost sure it is a bug, non ? 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-29 22:02 UTC] rasmus at cvs dot php dot net
Get rid of any <limit> directives in your httpd.conf
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 05:01:28 2024 UTC