How to turn OFF magic_quotes_gpc ?

magic_quotes_gpc is a PHP flag that you can turn on/off easily. By default, it's always turned on in our servers. We do NOT recommend to turn it off due to security reason (SQL Injections). Click here to learn about the security concerns.

To turn it off, do the following steps:

1) In your CPanel's File Manager (or any FTP client), locate the file /public_html/.htaccess
2) Edit the file .htaccess thru your CPanel's File Manager (or any FTP client) and add the following line at the end of your .htaccess file:

php_flag magic_quotes_gpc Off

3) Save .htaccess file. You are done!

Was this answer helpful?

Also Read
Can I switch between PHP-4 and PHP-5?

Yes, you can easily switch between PHP-4 & PHP-5 anytime you wish. To see how, see the...

How do I upload files to my server using WinSCP?

Follow the steps shown below to upload files to your server:1) Download and install WinSCP tool...

What is the path to sendmail?

The sendmail path is /usr/sbin/sendmail

Can I switch to a different hosting plan anytime?

Yes, you can switch to any other hosting plans anytime you wish. We do not charge any setup fees...

Where can I see your CPanel Demo?

We do have a CPanel demo for you that will give you a feel of using CPanel. Please remember that...