I want to turn off PHP's magic quotes. I don't have access to php.ini.
When I tried to add
php_flag magic_quotes_gpc off to my .htaccess file, I get a 500 internal server error. This is what my .htaccess file looks like:
AddType x-mapp-php5 .php php_flag magic_quotes_gpc off
Then I tried to use
ini_set('magic_quotes_gpc', 'O'), but that had no effect.
How do I turn magic quotes off?