To stop PHP from timing out, call set_time_limit(0). To keep the browser
from timing out, you need to send something to it every now and then.
At the end of the loop, do something like echo "<!-- NO TIMEOUT -->\n"; Or
if you wish to be more user-friendly--echo "<script>
ShowProgress($processed, $total); </script>\n"; where ShowProgress is a
Javascript function that update something (like a progress bar) on the page.
Uzytkownik "NotGiven" <no****@nonegiven.net> napisal w wiadomosci
news:9z*****************@bignews6.bellsouth.net...
I have a script that loops through email addresses takes long enough to
time out the web page.
Any ideas how to offload that process or avoid the timeout? Thanks.