PHP 4.0 Bug #2860: I loose $REMOTE_USER

From: Date: Mon, 29 Nov 1999 17:21:37 +0000
Subject: PHP 4.0 Bug #2860: I loose $REMOTE_USER
Groups: php.dev 
Request: Send a blank email to php-dev+get-13263@lists.php.net to get a copy of this message
From: sbernard@mouzaia.com 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 ?

« previous php.dev (#13263) next »