#27105 [Opn->Fbk]: Cannot open remote URL's
| From: | tomsommer@php.net | Date: | Sat, 31 Jan 2004 15:35:44 +0000 |
| Subject: | #27105 [Opn->Fbk]: Cannot open remote URL's | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-54210@lists.php.net to get a copy of this message | ||
ID: 27105
Updated by: tomsommer@php.net
Reported By: jprins at ision dot nl
-Status: Open
+Status: Feedback
Bug Type: HTTP related
Operating System: Unix
PHP Version: 4.3.4
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Provide a link to a phpinfo() on your server, check if allow_url_fopen
is enabled.
Works for me
Previous Comments:
------------------------------------------------------------------------
[2004-01-31 08:47:25] jprins at ision dot nl
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 this bug report at http://bugs.php.net/?id=27105&edit=1