Brendan wrote:
> Thanks guys
>
> sorry about the delay .. I am in Australia..
> checking the time each loop would only work if the loops complete
correctly
> .. if the process locks mid loop php wont reach the criterion break
because
> it deals with each command linearly. ie
>
> for (x=0;x!="array full";x++)
>  dothisfunction(x);
>     if ( (0 === ($x % 1000)) && (time () - $start_time) > $timeout)
>             break;
> etc
>
> if dothisfunction() locks up wont the entire script freeze?
>
> maybe I am wrong..
>
> what I am after is something like alert() in Perl or the 'on error resume
> next' in ASP which runs externally to the loop and breaks to the next
> instance if it is taking too long...
> any ideas?

    AFAIK there is anything like this built into PHP.

    --zak


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to