Posted by Matthew Weier O'Phinney on 03/31/05 21:50
* 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
[Back to original message]
|