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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to