Re: upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2)
| From: | Evan Nemerson | Date: | Mon, 22 Jul 2002 15:14:55 +0000 |
| Subject: | Re: upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2) | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108941@lists.php.net to get a copy of this message | ||
If you need register globals on for your old stuff, but want to write better
new code, you can just use <?php ini_set(register_globals, 0); ?> in your new
stuff.
If you are trying to turn register_globals off for the whole system, make sure
you're changing the right php.ini. phpinfo(); will give you the location
where PHP looks for your php.ini. If you run the command line version
(command line and apache module), just run
$ php -r 'phpinfo();' | grep 'php.ini'
from the command line
-Evan
--
What you cannot enforce, do not command.
Sophocles