How to Disable magic_quotes_gpc for PHP enabled servers

turn off magic_quotes_gpc for PHP enabled servers, add the below code in your htaccess file or php.ini file,
<ifmodule mod_php4.c>
php_flag magic_quotes_gpc off

Written by 

2x Salesforce MVP | Platform Champion | 18x Salesforce Certified | MuleSoft Certified | 8x Trailhead Ranger | TechForce Services | Sydney | Australia

Leave a Reply

Your email address will not be published. Required fields are marked *