Bug #15236 Updated: include() bug
| From: | dev at myesys dot com | Date: | Sat, 26 Jan 2002 22:59:54 +0000 |
| Subject: | Bug #15236 Updated: include() bug | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78200@lists.php.net to get a copy of this message | ||
ID: 15236
User updated by: dev@myesys.com
Reported By: dev@myesys.com
Status: Open
Bug Type: IIS related
Operating System: win2000
PHP Version: 4.1.1
New Comment:
Ok, I have resolve my problem myself.
We cannot open extenal file on WINNT like they say at
http://www.php.net/manual/en/features.remote-files.php
But I really need to open remote files on WINNT, it's a question of
compatibility between System (I create new kind of generic http
fonctions with include()) and for me it's really a bug from PHP. PHP
codes should work the same on NT or Unix.
Thank you and please put this request on the list of thing to implement
on the next WINNT PHP version.
Previous Comments:
------------------------------------------------------------------------
[2002-01-26 16:54:11] dev@myesys.com
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 this bug report at http://bugs.php.net/?id=15236&edit=1