Re: Re: IS THIS A BUG?

From: Date: Thu, 28 Aug 2003 00:23:55 +0000
Subject: Re: Re: IS THIS A BUG?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-160988@lists.php.net to get a copy of this message
On Wed, 27 Aug 2003 18:36:26 -0400, you wrote: >DvDmanDT wrote: > >>When using register_globals=off, this might be off intrest: (notice $$var) >>while(list($var,$val)=each($_REQUEST))$$var=$val; >> >Why not just turn register_globals on, then? I assume you could use it to only pull in variables from POST or GET, or you could add some complexity to the loop and verify the variables as they come in. (Personally, I agree - just turn the damn switch back on. It's always the first thing I do to an install.)

« previous php.general (#160988) next »