In your opinion, which is better?

Hello In your opinion, which is better?

I have a question about register_globals.

On our server we have it set to register_globals=off for security purposes. However, because a lot of older php coding requires it to be set at off, which method of turning it on for individual accounts is better... more efficient... safer:
via .htaccess (php_flag register_globals On) or;
via ssh in httpd.conf:

<VirtualHost 127.0.0.1>
ServerName localhost
DocumentRoot /var/www/html/mysite
php_value register_globals 0
</VirtualHost>

Thanx!

[great tool, this edit feature - now it says what i actually wanted it to say]

 

 

 

 

Top