PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   allow_url_fopen question (http://www.phpdig.net/forum/showthread.php?t=1850)

cefiro 02-16-2005 10:27 AM

allow_url_fopen question
 
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
Code:

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


All times are GMT -8. The time now is 07:03 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.