How to make user online script with php and txt file?
well you will have to write to a text file and add the user after that its simply a way of reading that textfile however this would be better and easyer ( lots smaller to ) with a database
http://www.spoono.com/php/tutorials/tutorial.php?id=16 but uses mysql, but it should work better that way