Disabling PHP Magic Quotes via .htaccess

/ Published in: PHP
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. php_flag magic_quotes_gpc off

URL: http://www.aristoworks.com

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.