Code: Alles auswählen
#
#-----[ FIND ]---------------------------------------------
# Line 92
unset($input['input']);
while (list($var,) = @each($input))
{
unset($$var);
}
#
#-----[ REPLACE WITH ]---------------------------------------------
#
unset($input['input']);
unset($input['not_unset']);
while (list($var,) = @each($input))
{
if (!in_array($var, $not_unset))
{
unset($$var);
}
}
nehme ich die klammer raus, läuft es:Parse error: parse error, unexpected '}' in /www/htdocs/v110777/common.php on line 106
Code: Alles auswählen
// Merge all into one extremely huge array; unset
// this later
$input = array_merge($HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $HTTP_SERVER_VARS, $HTTP_SESSION_VARS, $HTTP_ENV_VARS, $HTTP_POST_FILES);
unset($input['input']);
unset($input['not_unset']);
while (list($var,) = @each($input))
{
if (!in_array($var, $not_unset))
{
unset($$var);
}
}
unset($input);
//
// addslashes to vars if magic_quotes_gpc is off
// this is a security precaution to prevent someone
// trying to break out of a SQL statement.
//
