Re: .htaccess config

From: Date: Sat, 02 Apr 2005 11:40:07 +0000
Subject: Re: .htaccess config
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-212083@lists.php.net to get a copy of this message
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


« previous php.general (#212083) next »