#######################################################
# Anti-Leech 1.0   - -  README
#
# Created by Johan Wennberg
# Email: software@anti-leech.com
# Web: http://www.anti-leech.com
#
#######################################################
#
# COPYRIGHT NOTICE:
#
# Copyright 1999 Anti-Leech  All Rights Reserved.
#
# Selling the code for this program
# without prior written consent is
# expressly forbidden. In all cases
# copyright and header must remain intact.
#
#######################################################

We have tried to make it as easy as possible to install
the Anti-Leech system to your server. If you follow the
steps below it shouldn't be any problems at all. If you
have any questions, feel free to e-mail us at:
software@anti-leech.com

#######################################################
Install Anti-Leech

1. Unzip the antileech.zip file to your computer or to
the server. (you probably already did this since your
reading this).

2. You'll now have to modify the path to perl in the 
two cgi files (those that ends with .cgi). It's the 
very top line of the file. If you don't know what the 
perl path is, ask your server administrator.

3. Begin with uploading these 3 files (download.cgi, 
admin.cgi and variables.pl) to your cgi-bin directory.
They must be uploaded in ASCII mode.

4. Chmod admin.cgi and download.cgi 755 and variables.pl
666.

5. Create a directory, either below your root or in a 
cgi-bin where text files can not be accessed by 
the browser. Then upload the 3 text files: 
anti_stats.txt, files.txt, leechlog.txt.

6. Chmod all those 3 files 777.

7. Open leecher.html and modify it as you want it to 
look. This page is what people will see if a site 
tries to leech your links or files. You can use these
variables on the page if you like to:

Current time: $time
Referrer site: $referrer
Ip of surfer: $ip
Browser used: $browser

Upload it in the same directory as the other cgi files
(the cgi-bin).

8. Upload the image (help.jpg) that came in the zip 
file to a directory somewhere on your server.

9. Now go to the admin.cgi file through your browser. 
The installation will continue there with a description. 
If something doesn't work or if you have any suggestions 
or questions e-mail us at: software@anti-leech.com

#######################################################
The Admin

Once you installed the Anti-Leech program to your 
server just go to the admin.cgi file to login. You will
then come to the main admin page where you can see some
basic stats and enter other sub-domain pages.


# General Configuration
This is the same configuration as you did when you 
first installed the software. If you want to change 
anything of that just go here and press "update".


# Modify Links
This is the most important page. Its where you should 
modify and protect your files/links. Simply enter them 
like this:

filename::http://URL_TO_FILE/file.zip

You can enter and protect as many links as you want and
you can also modify the linkfile offline through the 
files.txt.


# Download stats
This page will show you the amount of files downloaded 
since the last reset and the total amount of downloaded
files. There's also a top 50 list with the 50 most 
downloaded files listed. When you reset the stats, all 
stats will be reset except the total amount of 
downloaded files. If you want to reset those you'll have
to manually edit variables.pl.


# Leecher log
This page shows you everyone who came from a site that
tried to leech your links.

#######################################################
How link the protected files

To link the protected files, link to:
http://www.yourdomain.com/cgi-bin/download.cgi?filename

The filename is the name you wrote in earlier in the 
link file. If the filename doesn't exist in your link 
file people will see an error message. Remember that 
the filename is case sensitive.


#######################################################
