#45539 [Opn->Bgs]: [function.file-get-contents]: failed to open stream: HTTP request failed!
| From: | jani@php.net | Date: | Fri, 18 Jul 2008 00:43:21 +0000 |
| Subject: | #45539 [Opn->Bgs]: [function.file-get-contents]: failed to open stream: HTTP request failed! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-126926@lists.php.net to get a copy of this message | ||
ID: 45539
Updated by: jani@php.net
Reported By: sggoyal at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Filesystem function related
Operating System: Linux
PHP Version: 5.2.6
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2008-07-17 06:51:29] sggoyal at gmail dot com
Description:
------------
Warning:
file_get_contents(http://my_url/index.php?t=trans&o=1&s=2008-07-17%2000:00:00&e=2008-07-17%2023:59:59)
[function.file-get-contents]: failed to open stream: HTTP request
failed! in /file.php on line 393
Link to this page
When I select more data means when I select
s=2008-07-17%2000:00:00&e=2008-07-17%2010:59:59 it work properly
I also use urlencode() but error remains
i.e
$res =
file_get_contents(http://my_url/index.php?t=trans&o=1&s=2008-07-17%2000:00:00&e=2008-07-17%2023:59:59);
$res = urlencode($res);
Expected result:
----------------
No error
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45539&edit=1