Re: old HTTP variables
| From: | mike | Date: | Mon, 19 Jan 2009 05:20:16 +0000 |
| Subject: | Re: old HTTP variables | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286646@lists.php.net to get a copy of this message | ||
On Sun, Jan 18, 2009 at 9:18 PM, Ashley M. Kirchner <ashley@pcraft.com> wrote:
> mike wrote:
>>
>> $HTTP_GET_VARS = $_GET;
>>
>> etc. :)
>
> I know what they are. I'm not about to change a couple of thousand lines
> of someone else's code unless there's no other way. :)
no i mean define that at the top before the code runs.
maybe use the ini setting for prepending script...
(i do the following to standardize our codebase)
unset($_REQUEST);
unset($HTTP_GET_VARS);
unset($HTTP_POST_VARS);
unset($HTTP_COOKIE_VARS);
unset($HTTP_SERVER_VARS);
unset($HTTP_ENV_VARS);
unset($HTTP_POST_FILES);
unset($HTTP_SESSION_VARS);