Re: Help! No POST/GET variables!
| From: | Daniel Moore | Date: | Wed, 14 May 2003 15:09:57 +0000 |
| Subject: | Re: Help! No POST/GET variables! | ||
| References: | 1 2 3 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10895@lists.php.net to get a copy of this message | ||
Yop, use $_POST etc, more secure... you can disable this, but it's no more
work to do the right thing really...
> You know, I had read about this somewhere as a new "feature" of PHP, but
> didn't make the connection.
>
> Thanks very much for the quick answer. It turns out my Linux distro
> packages PHP with global variables switched on by default, while getting
> PHP from the source will have them switched off. Up til now I'd never
> thought about it.
>
> I guess the idea is to write "cleaner" code making use of
> $_POST[variable] and $_GET[variable] structures? or is there a better
> method?
>
> -- j
>
> ----- Original Message -----
> From: "Daniel Moore" <danielm@gropep.com.au>
> To: <jeremym@optonline.net>
> Cc: <php-install@lists.php.net>
> Sent: Wednesday, May 14, 2003 9:09 AM
> Subject: Re: [PHP-INST] Help! No POST/GET variables!
>
>
>> Is it a global variables thing?
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php