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.)

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

Reply via email to