Re: sleep() and Max Execution Time

From: Date: Sat, 18 Sep 2004 20:29:44 +0000
Subject: Re: sleep() and Max Execution Time
Groups: php.general 
Request: Send a blank email to php-general+get-197123@lists.php.net to get a copy of this message
Please do not top post. On Sunday 19 September 2004 04:19, Stephen Craton wrote: > :: > Whenever I go into a loop, and then go sleep(1) or so, after about 30 > :: > executions the script will just stop running. > Thanks, I had a look at this but it doesn't seem that it will solve my > issues, since it just adds on the time the script runs but still limits it. > Any suggestions? RTFM again. Each time you invoke that function it _resets_ the timer. So just stick it in the loop to have it continually reset. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* The meeting of two personalities is like the contact of two chemical substances: if there is any reaction, both are transformed. -- Carl Jung */

« previous php.general (#197123) next »