Re: ini_set() broken?

From: Date: Mon, 08 Jul 2002 04:27:07 +0000
Subject: Re: ini_set() broken?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-106026@lists.php.net to get a copy of this message
Hi If you check with phpinfo() you will see that it is getting set to 1 or 0 but by the time your script is run it is too late for it to have any effect. Also ini_get('registar_globals') will not return the current state. I have no idea why, it looks like one of those undocumented safety features... Tom At 10:50 PM 7/07/2002 -0500, Greg Donald wrote:
On Sun, 7 Jul 2002, Chris Shiflett wrote: I refer you to this URL: http://www.tuxedo.org/~esr/faqs/smart-questions.html I refer you to this URL: http://php.net/ini_set and ask why does this function not work as per the manual? Again, here is my code: <? if(ini_set("register_globals", "0")) echo "ini_set success"; else echo "ini_set failed"; ?> -- ----------------------------------------------------------------------- Greg Donald http://destiney.com/public.key ----------------------------------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#106026) next »