RE: [PHP] Mailing List Programme
| From: | chris dot neale at somerfield dot co dot uk | Date: | Thu, 11 Sep 2003 14:48:21 +0000 |
| Subject: | RE: [PHP] Mailing List Programme | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162293@lists.php.net to get a copy of this message | ||
With max_execution_time directive in PHP.ini? I suppose I must have changed
that at some point too. I've tried using flush() before but without much
luck, and from what I've read in the manual I think it might be because I'm
running my setup on a Windows machine with IE6. A problem with client-side
buffering...
C
-----Original Message-----
From: Jay Blanchard [mailto:jay.blanchard@niicommunications.com]
Sent: 11 September 2003 13:36
To: Neale Chris; sheni@cyber-gear.com; php-general@lists.php.net
Subject: RE: [PHP] Mailing List Programme
[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?!?
If you are not the intended recipient of this e-mail, please preserve the
confidentiality of it and advise the sender immediately of any error in
transmission. Any disclosure, copying, distribution or action taken, or
omitted to be taken, by an unauthorised recipient in reliance upon the
contents of this e-mail is prohibited. Somerfield cannot accept liability
for any damage which you may sustain as a result of software viruses so
please carry out your own virus checks before opening an attachment. In
replying to this e-mail you are granting the right for that reply to be
forwarded to any other individual within the business and also to be read by
others. Any views expressed by an individual within this message do not
necessarily reflect the views of Somerfield. Somerfield reserves the right
to intercept, monitor and record communications for lawful business
purposes.