#23707 [NEW]: $HTTP_POST_VARS
| From: | da_bomb at hisplace dot net | Date: | Tue, 20 May 2003 00:32:22 +0000 |
| Subject: | #23707 [NEW]: $HTTP_POST_VARS | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-39998@lists.php.net to get a copy of this message | ||
From: da_bomb at hisplace dot net
Operating system: Windows XP Pro
PHP version: 5CVS-2003-05-19 (dev)
PHP Bug Type: HTTP related
Bug description: $HTTP_POST_VARS
Here is an example script that will show the bug in action after a form
submit
<?php
foreach ( $HTTP_POST_VARS as $key => $val ) {
echo "<b>{$key}:</b> {$val}<br />\n";
}
?>
I'm using the pre-built version of PHP5 from http://snaps.php.net and I
don't believe I have anything unique or specific about my setup.
It's not really a bug but $HTTP_POST_VARS isn't there in PHP5. I know
$_POST is the preferable method but phpBB for example uses $HTTP_POST_VARS
for backwards compatability. It's pretty easy to write some code to
workaround the problem but most people couldn't do it and I'm just
wondering if this variable will be included in PHP5 or is it being phased
out?
Thanks :)
--
Edit bug report at http://bugs.php.net/?id=23707&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23707&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23707&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23707&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23707&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23707&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23707&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23707&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23707&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23707&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23707&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23707&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23707&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23707&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23707&r=gnused