Hi,

> Thx for your reply It is working.

No probs, glad to help.

> I also found from php.net that it's possible 
> to set register_globals to "off" on a site-by-
> site basis via Apache, thus overriding the "global" 
> setting of register_globals in php.ini:
> 
> <VirtualHost 127.0.0.1>
> ServerName localhost
> DocumentRoot /var/www/html/mysite
> php_value register_globals 0 (or 1 for "on")
> </VirtualHost>

Yup, or even in directories:

<Directory "/var/www/html/mysite/foo">
  php_value register_globals 0
</Directory>

Which might be handy if you're updating scripts on a live site.

Cheers
Jon

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

Reply via email to