--------------------------------------------------------------
user-online-flash-php 1.0 || http://www.specialdefects.com
--------------------------------------------------------------
Copyright (C) 2001 Antonio Costa <antonio@specialdefects.com>
(based on original user-online 1.1 by Mike Rbsamen 
<mtr@phpwelt.de> code used with permission)

This Software is distributed under the GNU General Public 
License.
--------------------------------------------------------------

description:

user-online-flash-php 1.0 is a PHP script which allows 
webmasters to include the "xx user-online" feature to their 
websites in HTML or Flash movies.

It counts the users who are online since a defined time
and shows the count of users in a small table, which can
be placed everywhere on the website or as variables that can 
then be imported into Flash movies.

requirements:

- webserver with at least PHP 3.0.12
- mysql-database-server

installation:

1. create a database-table:
CREATE TABLE useronline ( 
time int(15) NOT NULL, 
ip varchar(15) NOT NULL, 
file varchar(50) NOT NULL, 
PRIMARY KEY (time), 
KEY ip (ip), 
KEY file (file) ); 

2. Upload the files to your server

3. Edit all the parameters in the file /include/dbconf.php
every setting is explained in this file!

4. Include the file userin.php to the documents you
would like to be counted by user-online. please change 
the path of the include file, if necessary. It should be
included in the first page the users get when visiting the site.

5. 
FLASH Output:
Load the file useronline.php into the flash movie that will 
display users online (see example flash movie). In the files 
displaying the Flash movie, it is not necessary to include
userin.php too!!!

HTML Output:
Include the file useronline.php to the documents you
would like to show the user-online-table. Please change 
the path of the include file, if necessary. In files with 
useronline.php in it, it is not necessary to include
userin.php too!!!

changelog:

31.08.2001 - initial release 1.0

contact:

Antonio Costa <antonio@specialdefects.com>
http://www.specialdefects.com
