Setting execution time for a loop
| From: | zavaboy | Date: | Tue, 09 Sep 2003 15:44:17 +0000 |
| Subject: | Setting execution time for a loop | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162081@lists.php.net to get a copy of this message | ||
How do I set execution time for a for() loop?
Like I have a loop stop once it finds 3 things, but what happens when there
are only 2 things? It keeps looking for 30 seconds then shows this error:
Fatal error: Maximum execution time of 30 seconds exceeded in...
How can I set it to 3 seconds without a error?
--
- Zavaboy
zavaboy@hotmail.com
www.zavaboy.com