Re: $_POST
| From: | Daniel Brown | Date: | Tue, 17 Jul 2007 12:18:51 +0000 |
| Subject: | Re: $_POST | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-258993@lists.php.net to get a copy of this message | ||
On 7/17/07, Robert Cummings <robert@interjinn.com> wrote:
On Tue, 2007-07-17 at 14:20 +1000, Nathan Wallis wrote: Hey, Just wondering if anyone can help me out. I have been used to using $_POST but from what I can tell it isn't supported in PHP 5. What do you use instead? Could you point us to the literature that says it's not supported in PHP5 because some of us here are probably extremely surprised. $_POST works fine in PHP5. Cheers, Rob. -- ........................................................... SwarmBuy.com - http://www.swarmbuy.comNate, check your EGPCS settings (variables_order) to make sure you have a P in there. If that doesn't work, there's another configuration or scripting error somewhere, because I assure you, the $_POST superglobal works just fine in every version of PHP since 4.1.0. Also, you can try doing a dump of $GLOBALS. This way will show them cleanly, but won't print_r() the arrays, of course: <? foreach($GLOBALS as $p => $v) {Leveraging the buying power of the masses!........................................................... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
echo "<B>".$p."</B>: ".$v."<BR />\n";} ?> -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107