Is there a setInterval function in PHP?
| From: | Zlutarch G. | Date: | Sat, 04 Aug 2001 23:18:28 +0000 |
| Subject: | Is there a setInterval function in PHP? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-61280@lists.php.net to get a copy of this message | ||
Hi, I couldn't find a similar function in the official documentation. Does anyone know if there is a setInterval function in PHP? i.e., making repeated calls to a function separated by a given time period. Is such a function even possible in PHP? One way to do it, without a PHP function, is to use a HTML meta tag, but then the whole script would be called, not just a specific function. That's what I have been using, but it's a poor man's way of doing things, not very elegant. I thought a function such as setInterval would be the way to go, and it would be an esay way to stream data.
Zlutarch
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp