imposta:

get_magic_quote_gpc() su off nel file di php..

oppure:

Codice PHP:
    function escaped($text) {
        if (!
get_magic_quotes_gpc()) {
            if (
version_compare($this->get_version(), '4.3.0''<')) {
                
$string mysql_escape_string($text);
                } else {
                
$string mysql_real_escape_string($text);
            }
            } else {
            
$string $text;
        }
        return 
$string;
    }