Disabling Magic Quotes GPC Using An .htaccess File

Providing your server is configured to allow .htaccess files, adding the following line will effectively turn off Magic Quotes:

php_flag magic_quotes_gpc off
If you enjoyed this article, please share it with a friend!

4 Responses to Disabling Magic Quotes GPC Using An .htaccess File

  1. Nelson says:

    Thank you very much! :D

  2. senol says:

    good job

  3. Ong Meng Foong says:

    nice!! simple & neat! thank you sooooo much!