Date: 06/10/02
- Next message: mfischer <email protected>: "[PHP-DOC] Bug #17342 Updated: include() fails to open URLs"
- Previous message: webmaster <email protected>: "[PHP-DOC] Bug #17342 Updated: include() fails to open URLs"
- Next in thread: mfischer <email protected>: "[PHP-DOC] Bug #17342 Updated: include() fails to open URLs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 17342
Updated by: philip <email protected>
Reported By: php <email protected>
Status: Critical
Bug Type: Documentation problem
Operating System: Windows 2000 Server
PHP Version: 4.2.1
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[2002-06-10 13:25:00] webmaster <email protected>
I've experienced this bug on Windows XP, 2000 Pro and 98.
------------------------------------------------------------------------
[2002-06-04 04:34:46] mfischer <email protected>
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 <email protected>
It turns out that urls in include() for Windows are not supported. This
fact should probably be documented.
------------------------------------------------------------------------
[2002-05-22 08:07:18] php <email protected>
Hi Derick,
Sorry bout that...
Installed php4-win32-200205221000.zip (latest)
and the problem persists. there is an additional error message now:
Warning: main("http://aorr3/oss/ssi/header.html") - Invalid argument in
F:\web\source\resolutions.php on line 6
Warning: Failed opening 'http://aorr3/oss/ssi/header.html' for
inclusion (include_path='.;f:\web\source') in
F:\web\source\resolutions.php on line 6
First 7 lines of code are below:
<?php
#print_r(get_cfg_var("allow_url_fopen"));
#print_r(ini_get("allow_url_fopen")ini_get("allow_url_fopen"));
include ("http://aorr3/oss/ssi/header.html");
(7 line blank)
Cheers,
Paul.
------------------------------------------------------------------------
[2002-05-22 07:43:09] edink <email protected>
Poul I think Derick was referring to 4.3.0-dev
(http://snaps.php.net/win32/php4-win32-latest.zip).
FYI I can reproduce the problems you're having.
------------------------------------------------------------------------
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
- Next message: mfischer <email protected>: "[PHP-DOC] Bug #17342 Updated: include() fails to open URLs"
- Previous message: webmaster <email protected>: "[PHP-DOC] Bug #17342 Updated: include() fails to open URLs"
- Next in thread: mfischer <email protected>: "[PHP-DOC] Bug #17342 Updated: include() fails to open URLs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

