Re: old HTTP variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 18, 2009 at 9:18 PM, Ashley M. Kirchner <ashley@xxxxxxxxxx> 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);

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux