Re: Confused - $GLOBALS
| From: | Danny Brow | Date: | Thu, 09 Dec 2004 20:48:06 +0000 |
| Subject: | Re: Confused - $GLOBALS | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203864@lists.php.net to get a copy of this message | ||
On Thu, 2004-12-09 at 12:40 -0800, Richard Lynch wrote:
> My best guess from skimming your code is that you need:
>
> global $_POST;
>
should I put this at the top of my code with the rest of my variables?
> in the function that uses $_POST.
>
> Or is $_POST always global anyway?
No.
>
> I always forget, because they changed it around on POST/GLOBALS/etc at
> some point, but only on some of them. Grrr.
>