Run this code on the pages you want to 'disable' magic quotes, while keeping it on for the site/server as a whole:
PHP Code:
if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
$_GET = array_map('stripslashes', $_GET);
$_POST = array_map('stripslashes', $_POST);
$_COOKIE = array_map('stripslashes', $_COOKIE);
}//if
I have this code in my init.php file which is run on every page load anyway, then code with the assumption that magic quotes is off. This will keep your code forwards compatible for when magic quotes is removed from php.
Bookmarks