Re: Variable Passing
| From: | Dan Lowe | Date: | Thu, 24 May 2001 09:11:32 +0000 |
| Subject: | Re: Variable Passing | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54187@lists.php.net to get a copy of this message | ||
Previously, Internaut said:
> Thankx for your reply, would you recommend setting the register_globals to
> on, would this be safe to do this?
It's not any more or less "safe" than using the $HTTP_POST_VARS or
$HTTP_GET_VARS arrays instead, but it could be less typing :-)
Note that for the arrays mentioned here to work, track_vars must be on. In
recent versions of PHP (4.0.1 and later, I think?) that is always the case.
-dan
--
If you had to identify, in one word, the reason why the human race has not
achieved, and never will achieve, its full potential, that word would be
"meetings." -Dave Barry, "16 Things That Took Me 50 Years to Learn"