The idea is that everytime a particular URL is typed in the script executes and a webpage is created with the latest details, which is then sent to my browser. Is there any program/apache plugin that will do this automatically?
Congrats, you've just re-invented the CGI script!Make sure your script sends first something like "Content-Type: text/plain\n\n", make the script executable, stick it in your cgi-bin. Depending on your apache config you might have to append ".cgi" to the filename.