This code doesn't work:

if(ini_set("register_globals", "0"))
  echo "ini_set success";
  echo "ini_set failed";

At 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

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to