**********************************************************
* Browzin'! Version 1.02 MySQL *
* Author: Martin Klavon *
* URL: http://members.lycos.co.uk/klav *
**********************************************************
**********************************************************
* This program is free software; you can redistribute *
* it and/or modify it under the terms of the GNU *
* General Public License as published by the Free *
* Software Foundation; either version 2 of the License,*
* or(at your option) any later version. *
**********************************************************
- What do I need?
- PHP 3+
- MySQL 3+
- Install instructions:
First of all, edit the settings at the top of browzin.php
to match your needs. You can open this file with a text-
editor such as Windows NotePad.
** UPGRADING FROM 1.0 **
If you are upgrading from version 1.0, then run this code
through MySQL and skip the rest of the installation process;
ALTER TABLE browzin
ADD page varchar(200) NOT NULL
AFTER ip;
** END UPGRADING NOTE **
Next, open your MySQL command-line (or phpMyAdmin)
and create the following table;
CREATE TABLE browzin (
date int NOT NULL,
ip varchar(40) NOT NULL,
page varchar(200) NOT NULL,
b_id int unsigned primary key NOT NULL auto_increment
);
Once created, upload browzin.php to your main directory.
Once this is done you are ready to roll!
All you have to do to add the "There are x users browsing"
message to your page is;
If you want to include the "users online" message on a HTML
page, then enable JavaScript in the browzin.php file and then
insert the following code wherever you want the message
displayed;
Also, if you just want to track the users on your site
without showing a message and without the need for PHP,
you can simply include the file by doing the following;
This way you can include it within a HTML page and it will
still track your visitors.
** NOTE **
Using this method will not track the user's page.
**********
And that's it! Completed!
If you have any trouble setting up Browzin'! then email me at:
martinklavon@hotmail.com and I'll see what I can do.
Thanks for choosing Browzin'!
Image SRC for Browzin'! image - http://members.lycos.co.uk/klav/images/browzin.gif