"Bob" <fa**@dontbother.com> wrote in message
news:42***********************@lon-reader.news.telstra.net...
I have some old legacy php scripts that need to run with register globals
on.
I would prefer not to run with register globals turned on where I don't
need to.
I am looking for a way of having a separate php.ini file for that
directory, that has globals on and run with globals off for the rest of my server.
Thanks.
The solution to this problem was
set register_globals = Off in the php.ini file
in the directory that had the old PHP code, that required register_globals
to be enabled, I put a .htaccess file with
php_flag register_globals On
I additionally had to make sure that the httpd.conf Directory directive was
allowed to have overrides from the .htaccess file