Include this script in the PHP pages of your web site in order to display the number of people that are viewing them. Before using this script remember to create a MySQL database for it (if you don't already have one), and to assign that name to $DataBaseName. Actually, remember to assign a value to all the initialization variables at the beginning of the script.

<? include("USERS.PHP"); ?> will keep count of the users accessing that page.

The users() function will display all the users tracked by the script. users_on_this_page() will only display the ones on the current page.