Thank you for your answers.
The hack seems the way to go, but I haven't found anything like this on the
net. Presumably because the 'problem' is so new...

I have absolutely no control over my hosting providers settings, and I wish
PHP 4.10 would just understand something like set_register_globals

I haven't got that much experience with playing with variables at this
What would do the trick is something like this:

    for all in $_GET
    $[varname] = $_GET[varname]

Could anyone give me some pointers in actually programming this?

Many thanks,

"Richard Heyes" <[EMAIL PROTECTED]> wrote in message
> > a quick and inelegant hack
> > 4.1 includes an array that has all of the data sent to the
> > script...(or use
> > the different ones like $_GET etc if need be) then write a
> > globalize function
> > that extracts the vars and declares them global...then use this
> Or use extract().
> --
> 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 (
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