Re: Register globals and ini_set
| From: | Philip Olson | Date: | Mon, 11 Jul 2005 22:03:34 +0000 |
| Subject: | Re: Register globals and ini_set | ||
| References: | 1 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-218497@lists.php.net to get a copy of this message | ||
>> If i use, at the beginning of my scripts,
>> ini_set('register_globals', 0), register globals will be
>> turned off?
> if you have php <= 4.2.3 yes, otherwise no.
> it has to be set in php.ini, .htaccess, or httpd.conf
You may not set register_globals at runtime with
ini_set() regardless of PHP version.
Regards,
Philip