You cannot set register_globals at runtime via 
ini_set().  The documentation goes off the PHP4 
source which is, to put it simply, a little wrong.  
The PHP4 source says register_globals is PHP_INI_ALL 
when in the real world it isn't.  .htaccess 
is as close as you'll get.

The ini_set() docs are autogenerated and this issue 
is being looked into.  The correct docs on this are 
now in phpdoc CVS and will show up soon.

In short, don't attempt to set register_globals 
at runtime as explained by a few in this thread, 
it won't fully work as expected.

Philip Olson

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to