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] problem while reading on sockets ...
On Thu, 26 Jul
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
Hello,
i was using php-4.0.3pl1 until now and never had any problem, except yesterday i had
to develop a page on which i have to read on a socket ...
problem is that:
while(!feof($socket_id)) {
echo fgets($socket_id, $len);
}
does not work: seems that FEOF is never detected so the PHP
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 ?
thanks
Arnauld Dravet
[EMAIL PROTECTED]
4 matches
Mail list logo