RE: [PHP] PHP 4.10: any way to override register_globals = OFF
| From: | Richard Heyes | Date: | Mon, 17 Dec 2001 21:53:59 +0000 |
| Subject: | RE: [PHP] PHP 4.10: any way to override register_globals = OFF | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78002@lists.php.net to get a copy of this 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