Evan Nemerson wrote:
> 
> 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.

You can't do this in a php file... by the time it gets to this line,
it's too late.

According to the set_ini function on php.net, register_globals is only
set-able in the ini file or in .htaccess.

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

Reply via email to