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
Author avatar

About the author

Creator of Surreal CMS and other web things. Follow me for tweets about JavaScript, CSS, and web programming.