Bug #15236: include() bug
| From: | dev at myesys dot com | Date: | Sat, 26 Jan 2002 21:54:11 +0000 |
| Subject: | Bug #15236: include() bug | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-78196@lists.php.net to get a copy of this message | ||
From: dev@myesys.com
Operating system: win2000
PHP version: 4.1.1
PHP Bug Type: IIS related
Bug description: include() bug
Hi,
when I try to include an external include file with the line <?
include("http://myesys.com/useronline.php?comp_id=12");
?> under IIS PHP
returns me:
Warning: Failed opening 'http://66.34.147.253/useronline.php?comp_id=12'
for inclusion (include_path='.;..')
on my Linux/Apache host the same same line work fine, but the file is on
the same server.
my php.ini lines for that problem are:
allow_url_fopen = on;
include_path=".;..";
We are suppose to be able to access external http or ftp file by enable
allow_url_fopen = on; or may be we cannot?
Jordi
Thank for help
--
Edit bug report at: http://bugs.php.net/?id=15236&edit=1