#27105 [Opn->Bgs]: Cannot open remote URL's
| From: | sniper@php.net | Date: | Sun, 01 Feb 2004 04:41:13 +0000 |
| Subject: | #27105 [Opn->Bgs]: Cannot open remote URL's | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-54233@lists.php.net to get a copy of this message | ||
ID: 27105
Updated by: sniper@php.net
Reported By: jprins at ision dot nl
-Status: Open
+Status: Bogus
Bug Type: HTTP related
Operating System: Unix
PHP Version: 4.3.4
New Comment:
Works fine with latest CVS snapshot. Worked fine with PHP 4.2.2 too.
:)
Previous Comments:
------------------------------------------------------------------------
[2004-01-31 13:15:11] jprins at ision dot nl
Changed the include into readfile, but same result
------------------------------------------------------------------------
[2004-01-31 12:25:40] pollita@php.net
(1) In your test script dump the contents of $http_response_header, not
$http_response_headers.
(2) Use readfile() when all you're including is content and not actual
PHP code. Using include() on a remote URL which you don't control is a
security risk and a completely unnecessary one in this context.
------------------------------------------------------------------------
[2004-01-31 10:46:34] jprins at ision dot nl
Tom, thanks for the quick response, the page still fails on my system.
Here's a link to phpinfo.
http://www.refresh.cx/php-info.php
------------------------------------------------------------------------
[2004-01-31 10:40:40] tomsommer@php.net
Your testing link works (again?)...
I thereby assume this was not a bug in PHP, rather a faulty
server/php-setup
------------------------------------------------------------------------
[2004-01-31 10:35:43] tomsommer@php.net
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
------------------------------------------------------------------------
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/27105
--
Edit this bug report at http://bugs.php.net/?id=27105&edit=1