Re: php conditional loop question
| From: | Curt Zirzow | Date: | Thu, 14 Aug 2003 02:13:10 +0000 |
| Subject: | Re: php conditional loop question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159517@lists.php.net to get a copy of this message | ||
* Thus wrote Randy L Johnson Jr (rjohnson@seasidepc.com):
>
> I have the program downloading the data and all that so I don't need help
> with that. I just want to be able to reun the function if the data stops
> or in more general a certain condition is met.
I'm not entirely sure how you are reading the data in from the
socket but your condition is when there is no data that came back
from the socket.
This function might be usefull:
http://php.net/stream_set_timeout
Curt
--
"I used to think I was indecisive, but now I'm not so sure."