timing out a function
| From: | Voitenko, Denis | Date: | Mon, 14 Aug 2000 15:06:44 +0000 |
| Subject: | timing out a function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11607@lists.php.net to get a copy of this message | ||
I am wondering if there is a clean way to time out a function? E.g. I have
an instance of fopen($file, "r") that sometimes takes over 30 sec. I'd like
to programmaticaly time it out after, say 10. How would I do that?
Denis Voitenko
Qode.com Internet Developer
Tel: (954) 484-3191 x 153
Fax: (954) 484-2933