Re: Setting values of php.ini file at runtime

From: Date: Mon, 25 Nov 2002 08:17:01 +0000
Subject: Re: Setting values of php.ini file at runtime
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-125898@lists.php.net to get a copy of this message
You cannot do it inside a script as the register_globals magic happens before the script starts executing, so toggling the setting at runtime is too late. -Rasmus On Mon, 25 Nov 2002, Tariq Murtaza wrote: > Dear All, > > I am wondering if anyone shed some light. > i am thinking of setting value for php.ini variables like > register_globals = ON/OFF at runtime (within our php script). > Is there any function built-in in php?, or can we do it ourselves. > > Looking forward, > Thanks > > Tariq > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#125898) next »