On Sun, 7 Jul 2002, Miguel Cruz wrote:

>> <?
>> if(ini_set("register_globals", "0"))
>>   echo "ini_set success";
>> else
>>   echo "ini_set failed";
>> ?>


I haven't tried this code, but I assume you're trying to say that "ini_set
failed" is displayed, but you're expecting the other output to be displayed.
Am I correct there?

What happens if you use http://localhost/file.php?var=something or whatever
your test script's path is and have this line at the end of the script
  echo "var = |$var|";

does $var contain anything. If it doesn't, then ini_set() worked...
otherwise.. um... find other way of doing it(??)

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

Reply via email to