RE: [PHP] Register Globals
| From: | Matthew Sims | Date: | Mon, 25 Oct 2004 19:18:24 +0000 |
| Subject: | RE: [PHP] Register Globals | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200280@lists.php.net to get a copy of this message | ||
> [snip]
> I just signed up with a new hosting site. So first thing I did was check
> what phpinfo() had to say.
>
> I see that register_globals is turned on. Now I always use the $_GET and
> $_POST vars but will this still affect me?
> [/snip]
>
> Nope, you can keep using, and should keep using, the $_GET and $_POST
> arrays.
>
>
And this won't pose as a security risk to me?
Just for kicks I tried using the .htaccess to turn it off locally but the
hosting site doesn't have the AllowOverride option set for me.
--
--Matthew Sims
--<http://killermookie.org>