ini_set() broken?
| From: | Greg Donald | Date: | Mon, 08 Jul 2002 03:02:46 +0000 |
| Subject: | ini_set() broken? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-106008@lists.php.net to get a copy of this message | ||
This code doesn't work:
<?
if(ini_set("register_globals", "0"))
echo "ini_set success";
else
echo "ini_set failed";
?>
At http://php.net/ini_set it states the following setting is
possible:
register_globals "0" PHP_INI_ALL
Translated, PHP_INI_ALL means: Entry can be set anywhere
So does anyone know why my code doesn't work then? ini_set() seems
broken. Can anyone confirm or deny?
I am using PHP 4.2.1 and on this particular project I am moving existing
code from a Linux/Apache setup where I developed it, to it's home on a
microsoft/iis server. Obviously I do not have access to the php.ini file.
Thanks in advance.. :)
--
-----------------------------------------------------------------------
Greg Donald
http://destiney.com/public.key
-----------------------------------------------------------------------