parag joshi

Well-Known Member
Sep 2, 2008
52
0
56
Is there a way to set magic_quotes_gpc to off either for one domain/sub-domain or for my entire site?
 

rhenderson

Well-Known Member
Apr 21, 2005
784
2
168
Oklahoma
cPanel Access Level
Root Administrator
Is there a way to set magic_quotes_gpc to off either for one domain/sub-domain or for my entire site?
For a domain/sub-domain create or add this to the .htaccess file if you are not running SuPhp

Code:
php_flag magic_quotes_gpc off
If running SuPhp make a php.ini file for every folder you need this disable and put in

Code:
magic_quotes_gpc = Off
For serverwide put the this code in your main php.ini file

Code:
magic_quotes_gpc = Off