Re: Re: PHP 4.2
| From: | James Clifford | Date: | Tue, 25 Jun 2002 17:56:40 +0000 |
| Subject: | Re: Re: PHP 4.2 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103809@lists.php.net to get a copy of this message | ||
> foreach($HTTP_POST_VARS as $var => $val) {
> $$var = $val;
> }
>
> // repeat for the other relevant $HTTP_*_VARS
>
> The result was a short script that could be require_once'd at the
> top of every script that depended on register_globals being off.
Er, I mean 'that depended on register_globals being *on*'. =/
--
James Clifford
james@base2.org