Re: .htaccess config

From: Date: Thu, 31 Mar 2005 18:50:23 +0000
Subject: Re: .htaccess config
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-211972@lists.php.net to get a copy of this message
* Neo Theone <neotheone@gmx.net>: > I got a simple problem: > I need to have allow_url_fopen on for a certain directory and so I > wanted to control it by .htaccess file. > now I can control other php_flags like register_globals in this > directory (so apache allows the Override) but I just simple can't get > the following line to work: > php_flag allow_url_fopen on > > any help is appreciated From the manual (http://php.net/manual/en/ini.php#ini.list), allow_url_fopen is only configurable from php.ini or httpd.conf; you cannot set it via .htaccess or within a script. -- Matthew Weier O'Phinney | WEBSITES: Webmaster and IT Specialist | http://www.garden.org National Gardening Association | http://www.kidsgardening.com 802-863-5251 x156 | http://nationalgardenmonth.org mailto:matthew@garden.org | http://vermontbotanical.org

« previous php.general (#211972) next »