Reply to Re: How to display web page continuosly?

Your name:

Reply:


Posted by Jerry Stuckle on 03/02/07 12:39

veg_all@yahoo.com wrote:
> I have a script that takes collects info from various websites to
> compile a report. However whenever I run it, my web browser waits for
> the script to finish ( 1 minute ) before displaying the report. But my
> script is outputting data every few seconds . So is there a way to
> make my browser display the web page every few seconds and update
> automatically as more data comes?
>

Two things can be happening here:

1. PHP and Apache are caching the data. Calling flush() should send it
to the browser

2. The browser itself is caching before displaying. Some browsers will
do this if they can't display things right away (i.e. a table without
columns and widths defined). Simplifying your HTML could help here.

I'd use AJAX as a last resort. It's way overkill for something like this.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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