[PHP-DEV] PHP 4.0 Bug #2860: I loose $REMOTE_USER From: sbernard <email protected>
Date: 11/29/99

From: sbernard <email protected>
Operating system: bsdi 4
PHP version: 4.0 Beta 2
PHP Bug Type: Other
Bug description: I loose $REMOTE_USER

<?
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 ?

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>