Re: $_POST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/17/07, Robert Cummings <robert@xxxxxxxxxxxxx> 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.com

    Leveraging the buying power of the masses!
...........................................................

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



   Nate, 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) {
       echo "<B>".$p."</B>: &nbsp; &nbsp; &nbsp; &nbsp; ".$v."<BR />\n";
}
?>

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux