"David" <da**@ebmachines.com> wrote in message
news:4e**************************@posting.google.c om...
Is it possible to create a loop in PHP, embedded in a web page, that
periodically queries another program (like a web service for example),
and correspondingly updates the information on the web page?
Would anyone know how to do this?
David
yes/no
no an active loop in php on a page, but yes, an active loop in javascript on
a page, that calls a php backend, then updates info. Take a look at the
link, it calls a loop that updates an image, but the image can contain text,
a clock in this example, to demostrate new info (the time) displayed as text
on a page. The time is actualy generated from a php script.
http://www.gzentools.com/test/time.php
source here:
http://www-2.gzentools.com/snippetvi...pts&v=time.php
--
Mike Bradley
http://www.gzentools.com -- free online php tools