On Wed, 2004-09-01 at 12:37, Afan Pasalic wrote:
> Me again with same thing.
> I added to
> .htaccess php_flag register_globals off 
> but it still doesn't work.
> When I list phpinfo() it shows me Master value for register_global: On
> On my local computer (localhost) it shows me Off.
> I need it to be Off.

You can't alter the register_globals master value from inside an
.htaccess file.  Aside from editing the php.ini, the most you can do is
put the .htaccess file in the root directory of your web root so it
cascades down to all the other scripts, I mean if that's what you want
and all.

Also, you might want to check with your web host that ".htaccess" is an
allowed override filename and that they allow overrides, it looks like
it is from you described.  Long story short, you appear to be all set.


-- 
Greg Donald

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to