Re: Re: Adieu register_globals
| From: | Andrew Yochum | Date: | Tue, 07 Mar 2006 00:10:15 +0000 |
| Subject: | Re: Re: Adieu register_globals | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-22153@lists.php.net to get a copy of this message | ||
On Tue, Mar 07, 2006 at 01:38:34AM +0200, Zeev Suraski wrote:
> A part of the decision was to supply the few lines of code necessary
> to emulate register_globals in userspace. Volunteers? :)
FWIW, I've used this successfully when tieing two systems with opposing
register_globals requirements:
extract($_GET,EXTR_REFS);
extract($_POST,EXTR_REFS);
extract($_COOKIES,EXTR_REFS);
Gets the job done simply.
Andrew