#40197 [Fbk->Opn]: Cannot access remote files
| From: | ddrewery at gmail dot com | Date: | Mon, 22 Jan 2007 20:56:16 +0000 |
| Subject: | #40197 [Fbk->Opn]: Cannot access remote files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107908@lists.php.net to get a copy of this message | ||
ID: 40197
User updated by: ddrewery at gmail dot com
Reported By: ddrewery at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: HTTP related
Operating System: Fedora Core 6
PHP Version: 5.2.0
New Comment:
Sorry about that.. I can give you root access. Can I just send it to
you @php account?
Previous Comments:
------------------------------------------------------------------------
[2007-01-22 20:44:18] tony2001@php.net
Okay, you can reproduce it. But now *I* need to reproduce it.
That was the question - how to reproduce it?
Hint: an account on your machine might be the answer.
------------------------------------------------------------------------
[2007-01-22 20:30:25] ddrewery at gmail dot com
I run that and get this..
# php -r 'var_dump(strlen(file_get_contents("http://google.com")));'
PHP Warning: file_get_contents(http://google.com): failed to open
stream: HTTP request failed! in Command line code on line 1
Warning: file_get_contents(http://google.com): failed to open stream:
HTTP request failed! in Command line code on line 1
int(0)
------------------------------------------------------------------------
[2007-01-22 20:12:16] tony2001@php.net
How to reproduce it?
# php -r 'var_dump(strlen(file_get_contents("http://google.com")));'
int(3171)
------------------------------------------------------------------------
[2007-01-22 19:09:20] ddrewery at gmail dot com
Ok.. I'm now running 5.2.1RC4-dev and still have the same problem.
------------------------------------------------------------------------
[2007-01-22 18:05:55] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
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/40197
--
Edit this bug report at http://bugs.php.net/?id=40197&edit=1