Disabling Magic Quotes in php on GoDaddy

In php.ini add these lines:

; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = Off
; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
magic_quotes_runtime = Off
; Use Sybase-style magic quotes (escape ' with " instead of \').
magic_quotes_sybase = Off

Then duplicate this and call it php5.ini

Then do this (to kill web system processes on Linux shared hosting accounts):

  1. Log in to your Account Manager.
  2. From the Products section, click Web Hosting.
  3. Next to the hosting account you want to use, click Launch.
  4. In the Content section of the Hosting Control Center, click the System Processes icon.
  5. Click End Web and follow any prompts.
  6. Reload the phpinfo.php page to see if the desired changes have taken effect.

About Keiron

Web Developer based in the UK. Click here if you want to work with me