Super Globals
| From: | Oscar F | Date: | Fri, 21 Mar 2003 04:30:40 +0000 |
| Subject: | Super Globals | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-140538@lists.php.net to get a copy of this message | ||
Hello,
I installed Apache/PHP in my local machine for testing purposes, but I'm trying to run a script that uses super global vars ($_SERVER['QUERY_STRING'], etc) and for some reason it does not seem to be working.. Can super globals be off like register_global on php.ini? if so what is the line I should change to turn them on?.
If I turn register_global on and print $QUERY_STRING it works, but it wont if I print $_SERVER['QUERY_STRING']. I'm on XP/PHP 4.0.6.
Thanks,
Oscar F.