From:             sggoyal at gmail dot com
Operating system: Linux
PHP version:      5.2.6
PHP Bug Type:     Filesystem function related
Bug description:  [function.file-get-contents]: failed to open stream: HTTP 
request failed!

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 bug report at http://bugs.php.net/?id=45539&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45539&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45539&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45539&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45539&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45539&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45539&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45539&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45539&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45539&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45539&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45539&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45539&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45539&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45539&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45539&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45539&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45539&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45539&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45539&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45539&r=mysqlcfg

Reply via email to