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 

Salesforce MVP | Lightning Champion | 17x Salesforce Certified | Application Architect | 7x Trailhead Ranger | Techforce Services | Australia

Leave a Reply

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