PDA

View Full Version : allow_url_fopen question


cefiro
02-16-2005, 10:27 AM
I would like to know if by setting allow_url_fopen to on in the .htaccess file for my phpdig directory will satisfy the requirement that allow_url_fopen be on for phpdig to work. My host would rather it not be on over all of my directories if at all possible. Thanks.

Charter
02-17-2005, 04:37 AM
http://www.php.net/manual/en/ini.php#ini.list

Name Default Changeable Changelog
allow_url_fopen "1" PHP_INI_SYSTEM PHP_INI_ALL in PHP <= 4.3.4.
Available since PHP 4.0.4.
Constant Value Meaning
PHP_INI_USER 1 Entry can be set in user scripts
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

So, it depends on the version of PHP...

digitalYours
02-21-2005, 09:23 AM
What will happen if "allow_url_fopen" is off?
Thx

Charter
02-21-2005, 01:14 PM
http://www.phpdig.net/forum/showthread.php?t=316