Philip Hallstrom wrote:
allow_url_fopen can only be set in php.ini. See here for more info:
scope of ini settings (from the manual)...
Constant Value Meaning
PHP_INI_USER 1 Entry can be set in user scripts or in Windows registry
PHP_INI_PERDIR 2 Entry can be set in php.ini, .htaccess or httpd.conf
PHP_INI_SYSTEM 4 Entry can be set in php.ini or httpd.conf
PHP_INI_ALL 7 Entry can be set anywhere
allow_url_fopen is PHP_INI_SYSTEM.
note that it can also be passed as an arg to the CLI e.g (-d flag):
/usr/bin/php -dallow_url_fopen=1 ./getmyremotefile.php
http://us2.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen
On Thu, 31 Mar 2005, Neo Theone wrote:
Hi
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
neo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php