Re: ini_set() broken?
| From: | Philip Olson | Date: | Mon, 08 Jul 2002 07:08:56 +0000 |
| Subject: | Re: ini_set() broken? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106037@lists.php.net to get a copy of this message | ||
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.
Regards,
Philip Olson