You are here: Re: idea needed: Longrunning PHP-script/continious stream/browser 'pagerenew' « PHP Programming Language « IT news, forums, messages
Re: idea needed: Longrunning PHP-script/continious stream/browser 'pagerenew'

Posted by Erwin Moller on 03/31/06 17:19

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация