Re: Register Globals
| From: | John Holmes | Date: | Mon, 25 Oct 2004 19:28:33 +0000 |
| Subject: | Re: Register Globals | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200283@lists.php.net to get a copy of this message | ||
Jay Blanchard wrote:
[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.You may be able to turn off register_globals for your site using an .htaccess file, also. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com