Knowledgebase: Programming Questions
How to turn magic_quotes_gpc off?
Posted by Tan Fang Wai (Import) on 28 March 2008 08:06 AM
For Linux Hosting, magic_quotes_gpc is on by default. It cannot be turn off at the main php.ini as it will affect the entire server. What can be done is to create a .htaccess file with php_flag magic_quotes_gpc off in it and put it at the base directory of your domain.
(549 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako Resolve