My ISP has register_globals turned on by default, I imagine this is set in their server's php.ini file and I would like to turn it off. Is there a file equivelant to php.ini that I can use to set PHP params like register_globals for only my domain?
Thanks,
David Rock
Can I turn off register_globals for only my domain?
Moderator: General Moderators
Pulling from php.net...
"Please note that register_globals cannot be set at runtime (ini_set()). Although, you can use .htaccess if your host allows it as described above. An example .htaccess entry: php_flag register_globals on."
http://www.php.net/manual/en/configurat ... ctives.php
"Please note that register_globals cannot be set at runtime (ini_set()). Although, you can use .htaccess if your host allows it as described above. An example .htaccess entry: php_flag register_globals on."
http://www.php.net/manual/en/configurat ... ctives.php
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK