From: mistermarvelous at hotmail dot com Operating system: Windows XP PHP version: 4.3.2 PHP Bug Type: URL related Bug description: Including URLs with ports does not work.
Description: ------------ Ok when I try to include, readfile, fopen or any function of that type, I get a error if the port is in the url. For example http://68.88.56.41:2525/index.html doesnt work. but something like http://www.google.com/index.html does work. I don't know if this is a bug or a missing feature, but I am not able to get this to work at all. Reproduce code: --------------- <?php include("http://68.88.56.41:2525/index.html"); ?> Expected result: ---------------- Warning: main(http://68.88.56.41:2525/index.html): failed to open stream: HTTP request failed! in C:\web\spherestatus.php on line 2 Warning: main(): Failed opening 'http://68.88.56.41:2525/index.html' for inclusion (include_path='.;c:\php4\pear') in C:\web\spherestatus.php on line 2 -- Edit bug report at http://bugs.php.net/?id=24814&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24814&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24814&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24814&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24814&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24814&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24814&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24814&r=support Expected behavior: http://bugs.php.net/fix.php?id=24814&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24814&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24814&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24814&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24814&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24814&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24814&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24814&r=gnused