Re: Setting execution time for a loop

From: Date: Wed, 10 Sep 2003 03:50:08 +0000
Subject: Re: Setting execution time for a loop
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162134@lists.php.net to get a copy of this message
* Thus wrote zavaboy (zavaboy@hotmail.com): > 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? What you explained seems that you're doing something wrong... can you provide a small example of what you want to get done? Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#162134) next »