#36925 [Opn->Bgs]: failed to open stream when trying to open remote file

From: Date: Mon, 10 Apr 2006 00:05:17 +0000
Subject: #36925 [Opn->Bgs]: failed to open stream when trying to open remote file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95510@lists.php.net to get a copy of this message
ID: 36925 Updated by: edink@php.net Reported By: igor at oleinikov dot ru -Status: Open +Status: Bogus Bug Type: Streams related Operating System: Windows XP SP2 Build 2600 PHP Version: 5.1.2 New Comment: There is something wrong with your setup. Just tested: <?php $f = fopen('http://www.php.net/index.php', 'r'); while (!feof($f)) { $data = fread($f, 1024); print $data; } ?> which produced the expected output. Previous Comments: ------------------------------------------------------------------------ [2006-03-30 23:20:39] igor at oleinikov dot ru Windows Firewall is disabled. Any firewall is disabled. And "telnet domain 80" connects to host successfuly. I tryied to connect to localhost. The error still keep occuiring. ------------------------------------------------------------------------ [2006-03-30 21:43:01] tony2001@php.net Disable windows firewall and make sure you are able to connect to this host with telnet host.com 80. ------------------------------------------------------------------------ [2006-03-30 18:08:00] igor at oleinikov dot ru I use: $f = fopen($url, 'r'); In first post I was make a misprint. ------------------------------------------------------------------------ [2006-03-30 18:06:13] igor at oleinikov dot ru Socket error #10035: Resource temporarily unavailable. This error is returned from operations on nonblocking sockets that cannot be completed immediately. ------------------------------------------------------------------------ [2006-03-30 18:02:44] bjori@php.net Do you get the error when using fopen() correctly? ------------------------------------------------------------------------ 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/36925 -- Edit this bug report at http://bugs.php.net/?id=36925&edit=1

« previous php.bugs (#95510) next »