Re: Register_Globals on on some website
From: Justin Koivisto (spam_at_koivi.com)
Date: 07/07/04
- Next message: Justin Koivisto: "Re: Writing array to csv string"
- Previous message: Phil Powell: "Re: Pagination"
- In reply to: bonehead: "Re: Register_Globals on on some website"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 07 Jul 2004 16:17:59 GMT
bonehead wrote:
> Justin Koivisto wrote:
>
>> Andrea A wrote:
>>
>>> Is it possible to set Register Globals on or off depending on the
>>> virtual
>>> directory of apache in which PHP is running? Is it possible using
>>> only one
>>> php.ini?>
>>
>>
>> Here's from my .htaccess for one of my sites:
>>
>> php_flag register_globals 0
>>
>> Changing it to 1 will turn it on.
>>
>> You should also be able to do this inside the VirtualHost directive.
>
> This is interesting, I did not know you could do this, but I don't
> really understand anything about virtual directory/virtual host. I'll do
> a search and see if I can find something about this, but I wonder if
> anyone would care to recommend some good on-line documentation?
http://httpd.apache.org/docs/ :-D That's where I get it all...
Also, the PHP stuff:
what can be set where:
http://us2.php.net/ini_set
and for apache *module* settings:
http://us2.php.net/manual/en/configuration.changes.php
Looks like these *won't* work for CGI mode.
--
Justin Koivisto - spam@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.
- Next message: Justin Koivisto: "Re: Writing array to csv string"
- Previous message: Phil Powell: "Re: Pagination"
- In reply to: bonehead: "Re: Register_Globals on on some website"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|