Reading and displaying server file content for users onlince
I hope someone can help me out with this:
I would like to display the number of users online on a web site.
A php script runs every 5 minutes and screens the logfile. It then writes the number of users online (different IPs) to a file.
with ie you could use the document.getElementsByTagName("script")="newVariable.js" method, just create a logedNumber variable in an external JS file
or for ie and ns you could save it as a XML file, which then can be checked every few seconds
cross browser you could use frames or iframes, then get these to refresh at set intervals
thanks for your suggestions.
I solved the problem using SSI. A very simple way to display the files content.