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