I have in shared server magic_quotes_gpc is on. I have tried adding the following code to my .htaccess file. 
php_flag magic_quotes_gpc Off
When I use the above line in .htaccess, it throws 500 internal server error.
Even I've tried using ini_set  too.
The problem is with CKEEditor. It addslashes the double quotes. And the editor is not woeking properly. I have gone through several answers also but not getting the answer properly.
Please guide me.
PHP Version: 5.3.24
 
     
    