Changing PHP flags in .htaccess
Posted by: quern
Posted on: 2004-09-06 11:39:00
I have a domain set up to run PHP as CGI, and I'm wanting to define PHP's register_globals flag as off. So, I've set a .htaccess file in the served root directory, containing:
php_flag register_globals off
...which should do the trick. But nooooo, phpinfo() indicates globals are stubbornly still on. All the references I can find online suggest this should work. Any ideas?
Thanks in advance.