Javascript/HTML example, dynamic server monitor
Archive - Originally posted on "The Horse's Mouth" - 2008-09-28 12:08:52 - Graham EllisThere 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.

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.