How do I disable magic quotes? (Using .htaccess)

You need to add this line to your htaccess file in the directory where you want to disable magic quotes:

php_flag magic_quotes_gpc off

The .htaccess file is located in your public_html folder on your FTP server.

  • 52 Users Found This Useful
Was this answer helpful?

Related Articles

Images are not showing on my site

Please make sure the images are uploaded to the server. Check that the HTML paths are correct....

I can see the old site content after uploading new files

Most likely, your browser keeps old copies in the cache for fast loading of your site. You need...

Where can I see the CPU logs of the processor?

Our hosting does not keep logs of CPU usage of the processor at the moment.When an account starts...

Domain does not work with "www"

If you cannot access your site using your domain without “www”. (Example.com) but with "www." it...

Firefox error: The page isn't redirecting properly

When a page redirects you to an infinite redirect, Firefox will display the error: The page isn't...