Bug #8170 Updated: fsockopen and fopen with ip address not active

From: Date: Thu, 13 Dec 2001 11:23:35 +0000
Subject: Bug #8170 Updated: fsockopen and fopen with ip address not active
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73508@lists.php.net to get a copy of this message
ID: 8170 Updated by: sander Reported By: andrusso@libero.it Old Status: Feedback Status: Closed Bug Type: Sockets related Operating System: Windows NT AND 98 PHP Version: 4.0.3pl1 New Comment: No feedback. Closing. Previous Comments: ------------------------------------------------------------------------ [2001-11-21 09:41:12] mfischer@php.net Can you reproduce this with latest RC http://phpuk.org/~james/php-4.1.0RC3-win32.zip Feedback. ------------------------------------------------------------------------ [2000-12-08 10:49:44] andrusso@libero.it On Windows 32 systems. With Apache Server or IIS $file = fsockopen ("10.1.1.121", 80, $errno, $errstr, 3); Where 10.1.1.121 is an generic IP address If the IP address is not active or there is not an service active on the port the script dead with a timeout (not of 3 seconds but of 30 seconds). The same problem if I use this: $file = fopen("http://10.1.1.121", "r"); If I use the @ the script dead after 30 seconds, so also the fopen example with remote url that I have read in the php4 manual dead. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=8170&edit=1

« previous php.dev (#73508) next »