Bug #17342 Updated: include() fails to open URLs
| From: | php at pgregg dot com | Date: | Mon, 10 Jun 2002 19:45:15 +0000 |
| Subject: | Bug #17342 Updated: include() fails to open URLs | ||
| References: | 1 | Groups: | php.bugs php.doc |
| Request: | Send a blank email to php-bugs+get-10037@lists.php.net to get a copy of this message | ||
ID: 17342
Updated by: php@pgregg.com
Reported By: php@pgregg.com
Status: Open
Bug Type: Documentation problem
Operating System: Windows 2000 Server
PHP Version: 4.2.1
New Comment:
I think these notes that it doesn't work on Win32 need
to go (also) on:
http://www.php.net/manual/en/function.include.php
http://www.php.net/manual/en/configuration.php#ini.allow-url-fopen
and in the distributed php.ini-dist
Paul.
Previous Comments:
------------------------------------------------------------------------
[2002-06-10 15:42:41] mfischer@php.net
a) This bug will remain in 4.3.0?
It's not a bug, it's a feature request.
b) Aside from php.net/include, any other places to add docs?
(include|require)_once
c) Same error regardless of allow_url_fopen value in php.ini?
No, fopen("http://somewhere/"); works for me on
win32. Doesn't it for
you?
d) Why can't windows include remote files?
Technical issue, ask zeev to explain. Something along the line that a
socket != fd on win32 and that flex only supports fd's.
Since it's documented already, it's not critical anymore IMHO.
------------------------------------------------------------------------
[2002-06-10 15:12:19] philip@php.net
features.remote-files.php has the following <note>:
"Note: You can't use remote files in include() and require() statements
on Windows."
a) This bug will remain in 4.3.0?
b) Aside from php.net/include, any other places to add docs?
c) Same error regardless of allow_url_fopen value in php.ini?
d) Why can't windows include remote files?
------------------------------------------------------------------------
[2002-06-10 13:25:00] webmaster@uwth.uni-hannover.de
I've experienced this bug on Windows XP, 2000 Pro and 98.
------------------------------------------------------------------------
[2002-06-04 04:34:46] mfischer@php.net
The let's document it, and set it to criticil. This really should be
clear to users on W2k platform, it's a major drawback.
------------------------------------------------------------------------
[2002-06-01 12:25:19] edink@php.net
It turns out that urls in include() for Windows are not supported. This
fact should probably be documented.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17342
--
Edit this bug report at http://bugs.php.net/?id=17342&edit=1