Posted By

aristoworks on 07/24/08


Tagged

php quotes htaccess magic


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

romanos
suibhne


Disabling PHP Magic Quotes via .htaccess


 / Published in: PHP
 

URL: http://www.aristoworks.com

Magic Quotes is a great feature of PHP but sometimes it can just get annoying. It's simple enough to turn it off at the .ini and restart apache but here's a quick .htaccess workaround

  1. php_flag magic_quotes_gpc off

Report this snippet  

You need to login to post a comment.