Users Online PHP Script

This script will show you how many people are browsing your site at any given time and the total number of visitors since you have installed it.

1. First, edit the install.php and online.php files and change your database name, user name and password.
2. Run from your browser the install.php file. 
3. If everything is OK, DELETE the install.php file from your server.

You can call the script from your html pages using this line:
<script src="online.php?so=1&st=1"></script>

If you want to display just the number of online users you should use:
<script src="online.php?so=1"></script>
If you want to display just the total number of visitors since you have installed the script you should use:
<script src="online.php?st=1"></script>

Note! An user is considered online, if he was active on your website in the last 5 minutes.

This is it. Thank you for downloading.

This script was written by George A. & Calin S. from Web4Future.com