#19118 [Opn->Bgs]: $HTTP_POST_VARS

From: Date: Tue, 27 Aug 2002 07:45:57 +0000
Subject: #19118 [Opn->Bgs]: $HTTP_POST_VARS
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17917@lists.php.net to get a copy of this message
ID: 19118 Updated by: rasmus@php.net Reported By: yamasaki@aero.kyushu-u.ac.jp -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Solaris 8 PHP Version: 4CVS-2002-08-27 New Comment: We do not support Apache2 in PHP 4.2.x. Try the latest CVS snapshot of 4.3-dev from snaps.php.net or use Apache 1.3.x Previous Comments: ------------------------------------------------------------------------ [2002-08-27 03:44:27] yamasaki@aero.kyushu-u.ac.jp Thank you for your reply. Yes, it is Apache2. Will you kindly give the pointer to fix my problem ? ------------------------------------------------------------------------ [2002-08-27 03:13:34] rasmus@php.net Is this Apache2? If so, that's your problem. ------------------------------------------------------------------------ [2002-08-27 03:10:01] yamasaki@aero.kyushu-u.ac.jp I am using php-4.2.3RC1. For the sample program (attached bug.php), after pushing 'New' button, it shows up 'cmd:Newcmd=New' instead of 'cmd:New'. Is it a bug ? ------------------------------------- <html> <head> </head> <body> <form method="post" name="submit" action="bug.php"> <input type="submit" name="cmd" value="New"> </form> <?php if (isset($HTTP_POST_VARS)) { foreach ($HTTP_POST_VARS as $key => $value) { print $key . ":" . $value . "<BR>"; } } ?> </body> </html> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19118&edit=1

« previous php.bugs (#17917) next »