2
depending on your environment and permissions, you can disable it in php.ini:
magic_quotes_gpc = Off
magic_quotes_runtime = Off
or with .htaccess eg:
php_flag magic_quotes_gpc Off
Also some php directives in the beginning of your php file are possible:
ini_set("magic_quotes_gpc", "0");
set_magic_quotes_runtime(1);