Re: idea needed: Longrunning PHP-script/continious stream/browser 'pagerenew'
- From: Erwin Moller <since_humans_read_this_I_am_spammed_too_much@xxxxxxxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 16:19:03 +0200
Sjoerd wrote:
Erwin Moller wrote:
I have a little problem figuring out something that solves the folowwing
problem:
1) 1 script that can run for many hours (days).
It will output regulary some information.
2) A browser that displays it.
The script could save its output to a file, which is repeatedly loaded
by a browser. Javascript can be used to refresh the page once in a
while.
Alternatively, you can make a Java applet which receives the data on a
socket.
Thanks David and Sjoerd,
I think storing the 'parts' (I want to spit out to HTML) in the database
with some time-index, which I poll from the client (using JS) is indeed a
good solution.
It gives me the flexibility to retrieve some pieces from the 'past' too in
the browser.
Easy actually, once you think of it. :-)
Thanks for your prompt responses!
Regards,
Erwin Moller
.
- References:
- Prev by Date: Re: idea needed: Longrunning PHP-script/continious stream/browser 'pagerenew'
- Next by Date: mail() From: headers not working
- Previous by thread: Re: idea needed: Longrunning PHP-script/continious stream/browser 'pagerenew'
- Next by thread: mail() From: headers not working
- Index(es):
Relevant Pages
|