From: [EMAIL PROTECTED]
Operating system: Windows 2000 Server
PHP version: 4.2.1
PHP Bug Type: *URL Functions
Bug description: include() fails to open URLs
Platform: W2K Server fresh install, IIS5.0, MySQL, PHP 4.2.1 and Oracle
8.1.7 Client.
PHP installed as an ISAPI filter and tested working, is also loading the
php_oci8.dll and talking well to oracle.
However, a simple:
include ("http://localhost/test.txt");
fails everytime regardless of the URL supplied. I have verified that DNS,
etc is working and IE on the server can see the URLs ok.
php.ini has allow_url_fopen = On, and this is verified through phpinfo(),
get_cfg_var("allow_url_fopen") and ini_get("allow_url_fopen")
Error message supplied by PHP is:
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
Having include_path undefined in php.ini or set doesn't matter (tho it
should not affect url opens).
Cheers
Paul, aka Qube
--
Edit bug report at http://bugs.php.net/?id=17342&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17342&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17342&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17342&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17342&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17342&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17342&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17342&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17342&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17342&r=globals