create or append to php5.ini the following settings. Comments should start with semi-colon
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
Next, to verify that those settings are loaded you can create a file called i123.php and later delete it to prevent hackers seeing your hosting's settings.
Then access it from the browser. Use your browser's search functionality to look for: "magic" to
make sure that all of the 3 settings above are OFF.
<?php phpinfo(); ?>
Credits:
- http://support.godaddy.com/groups/web-hosting/forum/topic/how-to-turn-off-magic_quotes_gpc/
- http://support.godaddy.com/groups/dedicated-linux/forum/topic/magic_quotes_gpc/
Referral Note: When you purchase through a referral link (if any) on this page, we may earn a commission.
If you're feeling thankful, you can buy me a coffee or a beer