idea needed: Longrunning PHP-script/continious stream/browser 'pagerenew'



Hi,

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.

So the browser will receive a stream of information over hours, and the php
script will output it (using flushing probably to make sure the browser
knows the stream is still alive.)

Ideally I would like to give the browser some command to throw away all the
old output to keep it fast and not having megabytes of info on the page.

But that means a new http-request, which doesn't suit my needs.

AFAIK this is not possible, but if it is possible somehow, please tell me.
If you think it is completely impossible, also please tell me. :-)

Thanks for your time.

Kind regards,
Erwin Moller
.



Relevant Pages

  • scripting in CL -- please comment
    ... I had to write a simple script, and decided to do it in CL. ... message from mutt in the browser. ... "Return a random string of given length, ... "Return stream and path." ...
    (comp.lang.lisp)
  • Re: idea needed: Longrunning PHP-script/continious stream/browser pagerenew
    ... I have a little problem figuring out something that solves the folowwing problem: ... A browser that displays it. ... So the browser will receive a stream of information over hours, and the php script will output it ...
    (comp.lang.php)
  • Re: Which Is The Better Approach To Working With Javascript?
    ... implementation has no interprocess communication capability, or ability to interface with a script interpreter. ... Java SCRIPT runs in the browser exclusively. ... No language is written just for a single environment. ...
    (comp.lang.php)
  • Controling Modal Dialogs
    ... In order to trap new windows created by script calls to window.open, ... Form and a new browser control in that tab. ... window.external.showModalDialog(dialog, varArgIn, varOptions);} ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Absolute element offsets--exercise in futility
    ... browser sniffing in lieu of feature testing. ... implemented in the latest rewrite of jQuery purports only to support ... it is dynamic script injection. ...
    (comp.lang.javascript)