Just FYI - if you use extract($_REQUEST), you're exposed to the very same 
danger that exists in register_globals.

You're much better off using import_request_variables(), which allows you 
some control over what you put in the global scope.


At 01:14 18/12/2001, Michael Jurgens wrote:
>Hey Guys,
>Thanks a lot, I allways use some config files that I include in every page,
>and with
>"extract ($_REQUEST);" added to one of those files, almost all of my
>problems are history.
>I'm now working on getting $PHP_SELF etc back working, but that should work
>Amazing this newsgroup, thank you all,
>"Richard Heyes" <[EMAIL PROTECTED]> wrote in message
> > >     for all in $_GET
> > >     {
> > >     $[varname] = $_GET[varname]
> > >     }
> > >
> > > Could anyone give me some pointers in actually programming this?
> >
> > extract($_GET);
> >
> > --
> > Richard Heyes
> > "If you have any trouble sounding condescending,
> > find a Unix user to show you how it's done." - Scott Adams
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to