View Single Post
  #1  
Old 12th October 2021, 20:42
elvira's Avatar
elvira elvira is offline
Senior Member
 
Join Date: Jan 2008
Slovenia
Posts: 172
Default PHP Warning: addslashes()
Hello all,

have a error in core.php with addslashes on line 56

PHP Code:
if( !get_magic_quotes_gpc() )
{
    if( 
is_array($HTTP_GET_VARS) )
    {
        while( list(
$k$v) = each($HTTP_GET_VARS) )
        {
            if( 
is_array($HTTP_GET_VARS[$k]) )
            {
                while( list(
$k2$v2) = each($HTTP_GET_VARS[$k]) )
                {
                    
$HTTP_GET_VARS[$k][$k2] = addslashes($v2);
                }
                @
reset($HTTP_GET_VARS[$k]);
            }
            else
            {
                
$HTTP_GET_VARS[$k] = addslashes($v);
            }
        }
        @
reset($HTTP_GET_VARS);
    } 
Reply With Quote