Check if the script timed out
(PHP 4 <= 4.0.4)
Related Examples ( Source code ) » connection_timeout
Code Examples / Notes » connection_timeout
In order to prevent my script timing out (I was processing images which was taking some time) I added this into my loop:
This resets the time limit - in this example giving it another 25 seconds to complete the task.