|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-05-19 19:44 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 05:00:01 2025 UTC |
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 :)