I need to turn off magic_quotes_gpc for one of my hosting accounts. I cannot turn it off for whole server because that breaks a few old scripts. Is there a way I can simply specify somewhere or make a modification so it is turned off only for one specified domain?
Any help is GREATLY appreciated!
If you are running suphp, try creating a php.ini file in the directory where the scripts will be run (you will have to have a php.ini file in EVERY directory those scripts may access)
In that php.ini file put:
magic_quotes_gpc = off
If you aren't running suphp, then I think you can set the value in a .htaccess file (but i'm not sure of the syntax).
If you have compiled your php using safe_php, then you wont be able to use php.ini in individual accounts.
Mike