#19118 [NEW]: $HTTP_POST_VARS
| From: | yamasaki at aero dot kyushu-u dot ac dot jp | Date: | Tue, 27 Aug 2002 07:10:01 +0000 |
| Subject: | #19118 [NEW]: $HTTP_POST_VARS | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-17913@lists.php.net to get a copy of this message | ||
From: yamasaki@aero.kyushu-u.ac.jp
Operating system: Solaris 8
PHP version: 4CVS-2002-08-27
PHP Bug Type: *General Issues
Bug description: $HTTP_POST_VARS
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 bug report at http://bugs.php.net/?id=19118&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19118&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19118&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19118&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19118&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19118&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19118&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19118&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19118&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19118&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19118&r=globals