How to disable magic quotes? (by using .htaccess)

Modified on:
magic quote magic_quotes_gpc magic_quotes

The magic_quotes_gpc directive can be disabled by adding this line to your .htaccess file in the directory, where you want the magic_quotes disabled:

php_flag magic_quotes_gpc off

.htaccess file is located in your public_html folder, on your FTP.

  • Unlimited Number of Websites
  • 24/7 Live Support
  • Free Website Builder
  • 2X WordPress Optimized Speed
  • 30-Days Money-Back Guarantee
Grab the limited time deal!
RM 13
99
/mo
RM98.97
RM41.97 for 3 months
Save 58%
Let's go!