Location: PHPKode > scripts > Users online > users-online/readme.txt
********************************************************************
	SPYKA WEBMASTER - HTTP://WWW.SPYKA.NET
	FREE WEB TEMPLATES AND RESOURCES FOR WEBMASTERS
********************************************************************

This is a free script by spyka webmaster (http://www.spyka.net)

THIS IS FREE SOFTWARE AND LICENCED UNDER THE GNU GENERAL PUBLIC LICENSE VERSION 2



1. Installation
-----------------------------------------


Open online.php and input your MySQL host/user/password/database information. Use the comments to help.

Upload the WHOLE users-online folder to the root of your website.

Point your browser to the install file, e.g.:
www.domain.com/users-online/install.php

Follow the on screen instructions, the installer will attempt to automatically create the required tables and 
insert some data.

Delete install.php

Add the following PHP/HTML code to your pages to track and output users online:



<?php
include_once('users-online/online.php');
list($online, $record) = users_online();
?>
<p>There are currently <?=$online?> users online. The most ever online is <?=$record?></p>


All done!

Full online documentation can be found at http://www.spyka.net/docs/users-online


2. Help and support
-----------------------------------------
You can get help, support for this script plus other web design and development tips from our webmaster forums: http://community.spyka.co.uk/forumdisplay.php?f=9


3. Other information
-----------------------------------------
Please contact us if you need more information about this script - spyka.net/contact
Return current item: Users online