Knowledgebase: PHP
How do I enable magic_quotes_gpc (PHP)
Posted by Barry Tarbet on 15 January 2009 04:56 PM
How do I enable magic_quotes_gpc (PHP)

Since php 4.2.3 magic_quotes_qpc setting has been disabled by default
All of our servers run standard PHP installations - with magic_quotes_gpc off

If our software requires magic_quotes_gpc enabled
create an .htaccess file with the following setting

php_flag magic_quotes_gpc on

To switch off just remove the .htaccess file or the magic_quotes_gpc line

if you need further assistance, please do not hesitate to open a support ticket - include steps how we can duplicate problem

(137 vote(s))
Not helpful