PHP disable magic quotes per directory

I use PHP's Magic Quotes but I'd like to start preparing to turn them off. You can disable Magic Quotes on a per directory basis by using an .htaccess file. Put the following in an .htaccess file in the directory you want to disable Magic Quotes.

php_flag magic_quotes_gpc Off


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.136.26.20
To prevent spam please submit by clicking the kitten: