	-----------------------
	 clickcount.php
	 Ver. 1.0-PHP
	 ----------------------
	 Gustav Evertsson
	 www.guzzzt.com
	 me@guzzzt.com
	-----------------------


--->	You can find more CGI and Perl @ CGIsearch.nu    <---


 The script is FREEWARE but please send a mail so I can add a link to
 your site in the "Sites That Use ClickCount" 

	INSTALLATION
-----------------------------------------
First change the database settings in clickcount.php.
Second create the database like in clickcount.sql.
Then upload all files in ASCImode!
Now you are ready to use it!


	HOW TO USE ClickCount.php
-----------------------------------------

	how to change the href link
-----------------------------------------
Change all href to "urlto/clickcount.php?action=jump&URL=http://your.link.here"
ex.
<a href="urlto/clickcount.php?action=jump&URL=http://your.link.here">Your text here</a>

	how to use SSI
-----------------------------------------
Use SSI and include this to show nof clicks "urlto/clickcount.php?URL=http://your.link.here"
ex.
Clicks: <!--#include virtual="urlto/clickcount.php?URL=http://your.link.here" -->

   link to a cgiscript with querystring
-----------------------------------------
If you whant to link to a url with a query string then you must change all 
'?' to '%'
'&' to ''
'=' to '!'

Then clickcount.cgi will change it back when somone click on the link.
ex.
<a href="urlto/clickcount.php?action=jump&URL=http://your.link.here/mycgi.cgi%namn!value">Your text here</a>
Clicks: <!--#include virtual="urlto/clickcount.php?URL=http://your.link.here/mycgi.cgi%namn!value" -->

	total clicks
-----------------------------------------
if you go to the clickcount.php without ?action....etc will you come to the admin page
with all links and a total clicks.
ex.
Location: http://www.your.site.here/cgi-bin/clickcount.php

If you have any problem please mail me and will help you!


	HISTORY
-----------------------------------------
1.0-PHP	The First version of the PHP ed of this script.