Location: PHPKode > scripts > Free Who is Online Script > who_is_online/readme.txt
!!!!!!!!!!!!baboon.co.in Ltd, Users Online PHP Script!!!!!!!!!!!!!!!

This script was written by Bharat Kaushik (hide@address.com)

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 config.inc.php file 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(or you can leave it as it is).
4. See the Example file, how the counter is installed and more.
5. See below the instruction to add the display of online users and online visitors.


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>
-----------------------------------------------


You have to include above giving lines to all the pages from where you are using or wishing to use the counter.
also give the approprite correct path to the online.php file, as if you are uploading the files in "who_is_online" folder of your domain and now wish to add the counter to the home page then you have to use the following script lines
-----------------------------------------------
<script src="who_is_online/online.php?so=1&st=1"></script>
-----------------------------------------------

if you wish to copy the online.php page to all the directories then also copy config.inc.php with it.


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 Bharat Kaushik
||||||||||||||||||||||||||||||||||||||||||||
Return current item: Free Who is Online Script