|
|
Posted by Rik Wasmus on 01/15/08 01:28
On Tue, 15 Jan 2008 02:13:49 +0100, Kurda Yon <kurdayon@yahoo.com> wrote:
> in the home directory I put .htaccess with "register_globals 0".
php_value register_globals 0
At least, that's what Apache likes here.
> Obviously, all php-files from this directory will not take variables
> from the address line. But, as far as I understand, the .htaccess
> files influences on all files in the subdirectories so that they also
> cannot take the variables from the address line. Should it be like
> that?
That's how it's supposed to work yes, if the starting script is there.
Keep in mind that if the requests originates from somewhere else with
register_globals on possible includes from this dir will also have it
enabled.
--
Rik Wasmus
[Back to original message]
|