Author: 
Achim Schmidt
<as@asit.de>
http://www.wusel.de/~as/

Homelocation:
http://www.asit.de/?c=info/as-redir


README
======

as-redirect is a program to redirect to an other url and to track
the clicked url's.

Most easy include:

<A HREF=go.php3?url=http://www.you-host.com/>link sample</A><BR>

To look the statistics, point your browser to the file stat.php3.


============
More details
============

The program go.php3
-------------------
Syntax (then url):

go.php3?<parameters>

Possible parameters:

s1=	Site identifier. If you use the skript from more then one site,
	you are able to set the site identifier. This can be any
	text up to 254 chars.
s2=	Here you can identify any service, from which the requests
	is coming.
url=	Destionation URL. This is the URL to go.

If you are using more then one parameter, you've to concetionate the
misc parameters with the character & (html like). In this case it's
very important to use the parameter url= as last parameter !


The program stat.php3
---------------------

The stat.php3 is the statistics browser for the go - Database.

Syntax (from browser):

stat.php3?<parameters>

The possible parameters are:

site=		selects only entries with this site identifier (s1 parameter of
		go.php3).
service=	selects only entries with the selectes service identifier 
		(s2 parameter of go.php3).
begin=		beginning date for statistics
		Date is given in YYYY-MM-DD
end=		end date for statistics
		Date is given in YYYY-MM-DD

The begin and end parameters have to be used only together.
If you use site and service parameter in the same access, it'll
be a logical and operation.


