Hi,

On Tuesday 07 March 2006 01:10, Andrew Yochum wrote:
> 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.

Even simpler: http://php.net/import-request-variables

johannes

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to