well because i'm not connecting to a web server ...
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: "Arnauld Dravet - smurfie" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 3:35 AM
Subject: Re: [PHP]
On Thu, 26 Jul 2001 23:43, Arnauld Dravet - smurfie wrote:
> Hello,
>
> simple question:
>
> $sock = fsockopen($server_ip, $server_port, $errno, $errstr, 30);
> while(!feof($sock)) echo fgets($sock,4096);
> fclose($sock);
>
> why does the while() makes an infinite loop, like if FEOF was never
> fo
Hello,
simple question:
$sock = fsockopen($server_ip, $server_port, $errno, $errstr, 30);
while(!feof($sock)) echo fgets($sock,4096);
fclose($sock);
why does the while() makes an infinite loop, like if FEOF was never found ?
what is the character used to tell if there's an EOF or not ?
could my
3 matches
Mail list logo