RE: [PHP] Mailing List Programme
| From: | Jay Blanchard | Date: | Thu, 11 Sep 2003 13:36:06 +0000 |
| Subject: | RE: [PHP] Mailing List Programme | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162288@lists.php.net to get a copy of this message | ||
[snip]
I've used the following line in some of my scripts, some of which run
for 10
or 15 minutes.
set_time_limit(0);
The server won't time out, but it takes a while to get anything back to
the
browser. It's not ideal, because it takes some time before anything gets
sent back to the browser, but it does the trick.
[/snip]
Your server timeout would have to be ramped up too. And you can get
output to the browser...let's say you are looping
while($foo is good){
get data
process date
flush(information)
}
http://www.php.net/flush sends info to browser
Anyone sense a theme here for me this morning?!?