This is a very simple and lightweight users online counter addon for your website! Together with the amount of the users currently browsing your website, the script will also keep a record of the most users ever online at once.
The script identifies users by their IP address which is stored in the database, using a one way hash, for a set time out. Once this time out is exceeded the entry is removed and the user no longer counted as “online”. A count of the rows in the database at any one time reveals the amount of users online.