Originariamente inviato da Samleo
O disattivi il magic_quotes, o togli il mysql_real_escape_string

Uno ci basta...
mmm non direi proprio

http://www.tizag.com/phpT/php-magic-quotes.php

http://stackoverflow.com/questions/1...tes-at-runtime

e se proprio vuoi esagerare

Codice PHP:
// (C) Andrea Giammarchi - Mit Style License
class App_RemoveMagicQuotes 
{
    private 
$__f = array();
    final public function 
__construct() {
        if(
get_magic_quotes_gpc()) {
            
$this->__f = array($this'__rs');
            
$_GET array_map($this->__f$_GET);
            
$_POST array_map($this->__f$_POST);
            
$_REQUEST array_map($this->__f$_REQUEST);
            
$_COOKIE array_map($this->__f$_COOKIE);
        }
    }
    final private function 
__rs($w) {
        return 
is_array($w) ? array_map($this->__f$w) : stripslashes($w);
    }

se il server te lo permette puoi disattivarle
in un .htaccess
php_flag magic_quotes_gpc off