There are times I want to keep an eye on our servers, but I don't really want to redraw my whole browser window (or even a frame!) to do it. So I've written a Javascript application to run in my browser (source code
here) that calls up a tiny piece of PHP on the server (source code
here) and replaces
just the changing part of the page every 10 seconds.

This is a screen capture of
the changing part of the display - which has been kept small to make it very smooth indeed, and as the page is primarily for staff use there's no need to provide long descriptions within the table. You can try it out
here, and I have added some static examples and descriptions to help you along if you're looking to do something similar.
If you would like to do something like this yourself, but aren't sure of the PHP - have a look at our
PHP course. If you're happy with PHP basics, but aren't sure of how to apply techniques in examples like this, our
PHP Techniques Workshop can help. If you need to learn Javascript - please
email me and I'm sure I can help ;-) by providing some training for you.
(written 2008-09-28)
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
W602 - Web and Intranet - Client Side Technologies [411] Javascript examples (some PHP and MySQL too) - (2005-08-13)
[522] Javascript events - a good example - (2005-12-09)
[1322] Flash - is it available to your web page? - (2007-08-26)
[1681] Adding a button to a web page to print the page - (2008-06-18)
[1749] Using server side and client side programming together - (2008-08-11)
[1812] Starting Ajax - easy example of browser calling up server data - (2008-09-27)
[1813] Ajax - going Asyncronous and what it means - (2008-09-28)
[2390] Dynamic / changing images on your web page - (2009-09-01)
[2628] An example of an injection attack using Javascript - (2010-02-08)
[3128] How does your browser find out about itself? - (2011-01-11)
[4277] Sending a message to the server and changing text on a page when a button is pressed - (2014-05-23)
[4310] Problem ... I want to print a series of numbered forms - (2014-10-05)
W510 - Web and Intranet - Executable ContentH307 - PHP - Web2 and caching [1633] Changing a screen saver from a web page (PHP, Perl, OSX) - (2008-05-06)
[1647] Exchange Rates - PHP with your prices in your users currency - (2008-05-19)
[1733] memcached - overview, installation, example of use in PHP - (2008-08-02)
[1926] Flash (client) to PHP (server) - example - (2008-12-06)
[1995] Automated server heartbeat and health check - (2009-01-16)
[2196] New Example - cacheing results in PHP for faster loading - (2009-05-24)
[2321] Uploading and Downloading files - changing names (Perl and PHP) - (2009-08-04)
[2545] Scraping content for your own page via PHP - (2009-12-21)
[3029] PHP data sources - other web servers, large data flows, and the client (browser) - (2010-11-04)
[3094] Setting your user_agent in PHP - telling back servers who you are - (2010-12-18)
[3186] How to add a customised twitter feed to your site - (2011-02-27)
[3458] On this day ... one PHP script with three uses - (2011-09-26)
[3955] Building up from a small PHP setup to an enterprise one - (2012-12-16)
[3999] Handling failures / absences of your backend server nicely - (2013-02-08)
[4055] Using web services to access you data - JSON and RESTful services - (2013-03-29)
[4075] Further recent PHP examples - (2013-04-28)
[4106] Web server efficiency - saving repetition through caches - (2013-05-30)
[4136] How do I post automatically from a PHP script to my Twitter account? - (2013-07-10)
[4627] Caching results in an object for efficiency - avoiding re-calculation - (2016-01-20)
Some other Articles
Icelandic BadgeMarc Schneider is still having email troubleHolt on holtHotel Guest SurveysJavascript/HTML example, dynamic server monitorAlternative URLs using % symbol encodingMiddle aged subsidise young and oldComing home tonight