Well, I had theorised I could use files, but then I come to the problem that although I know how to write a script to add names to a "user online" file, I didn't know how to best write a script which would detect that the user is nolonger on.
I suppose I could offer a "logout" script which would remove them from the users online, but then most people are lazy and won't click the logout.
I had thought that every time a user hits a page, the "users online" file could be truncated and the user hitting the page would be added again - the only problem with this is that obviously only one name would ever be on the list.
Maybe I'm just tired and am missing the obvious solution...