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
-----------------------------------------------------------------------



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

Reply via email to