From: jprins at ision dot nl Operating system: Unix PHP version: 4.3.4 PHP Bug Type: HTTP related Bug description: Cannot open remote URL's
Description: ------------ PHP issues this warning: Warning: main(http://www.ccmplanet.com/): failed to open stream: HTTP request failed! in /home/sites/site90/web/testrss.php on line 17 Warning: main(): Failed opening 'http://www.ccmplanet.com/' for inclusion (include_path='.:/usr/local/lib/php') in /home/sites/site90/web/testrss.php on line 17 The weird thing is that this error only occurs on the combination of my server (http://www.refresh.cx) and the remote server (http://www.ccmplanet.com). I _can_ include other remote URL's and other sites that also use php-include from ccmplanet.com don't have problems accessing ccmplanet.com Reproduce code: --------------- URL: http://www.refresh.cx/testrss.php Code in this file: <?php include("http://www.ccmplanet.com/"); var_dump($http_response_headers); ?> Expected result: ---------------- It should just include the file (it worked for years, but since a few hours it stopped working, I suspect my hosting provider from changing (upgrading?) the system). Yes, I already asked what they did (no reply sofar) -- Edit bug report at http://bugs.php.net/?id=27105&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27105&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27105&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27105&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27105&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27105&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27105&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27105&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27105&r=support Expected behavior: http://bugs.php.net/fix.php?id=27105&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27105&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27105&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27105&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27105&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27105&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27105&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27105&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27105&r=float
