Posted by onedbguru on 12/14/31 11:44
Your previous installation used global_variables (in php.ini), the
default is ON. In Version 4 and later, the default is OFF.
For tightened security purposes use the default and change your code.
if you don't want to change your code you can always add this code
snippet to the begining of your existing scripts:
if (!empty($_GET))
{
extract($_GET);
}
else if (!empty($HTTP_GET_VARS))
{
extract($HTTP_GET_VARS);
}
if (!empty($_POST))
{
extract($_POST);
}
else if (!empty($HTTP_POST_VARS))
{
extract($HTTP_POST_VARS);
}
[Back to original message]
|