473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Creating a monitoring / querying loop

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
Jul 17 '05 #1
2 1474
David wrote:
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?


Cron maybe? Be more specific.
Jul 17 '05 #2
"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
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: johnm | last post by:
Hello, We currently are running a CRM application that uses DB/2 7.2 for the data repository. We will be upgrading to 8.2 later this year....maybe....time and resources permitting. The...
13
by: webzila | last post by:
Hello, I have to write a program for an 8051 micro-controller using micro-C to monitor Switch 1 and if the switch in pushed the message "switch 1 pushed" should be displayed in the LCD. Also the...
3
by: JSheble | last post by:
I have a windows service that in the OnStart it creates a thread and runs a loop forever and ever, assuming the service is running. The loop stops during the OnStop event, and everything works...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
3
by: Webbee | last post by:
What would be the recommended way to monitor a high traffic message queue? I need to import data from the que into another program via the other programs API. When a message is added to the que I...
7
by: freako9699 | last post by:
I would like to create a blog script, with a mysql back-end, a basic admin panel then can just add/edit posts and delete comments. no user auth required. how do i go about doing that, i no how to...
9
by: Rotzooi | last post by:
Hi, I have a VB.NET Service application that's running fine under the Local System account. But for configuration purposes I don't want to be dependent on modifying the registry manually or...
3
by: rohit | last post by:
hi i want to detect all file change operations(rename,delete,create....) on ALL THE DRIVES of the hard disk using the method ReadDirectoryChanges API , i.e program no. 3 in the webpage...
1
by: Craig Buchanan | last post by:
I am trying to develop a queue-monitoring agent. The queue will be either MSMQ or Amazon's SQS. The message will contain instructions on how a worker should process (could be lengthy) a file...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.