|
Posted by Erwin Moller on 03/31/06 16:48
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
Navigation:
[Reply to this message]
|