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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sbernard at mouzaia dot com
New email:
PHP Version: OS:

 

 [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: Sun Apr 28 22:01:29 2024 UTC