Download Tracker
|
Version 0.04
Copyright 1997-2002 David Dienhart All Rights Reserved.
Release Date: 06-18-2002
http://www.dienhart.com |
| |
License Agreement 0.03 |
This program and source code may be used and modified free of charge by
anyone as long as all copyright notices and the comments remain intact.
By using this program you agree that it is provided as is, without warranty,
and that the developer will not be held accountable for its use or misuse.
The program and source code may not be sold without prior written consent.
This software is free for commercial and noncommercial use. |
|
| |
Files
|
- download.pl (binary)
- downloadtracker.html (this file)
- /cgi-bin/daboo/localanalysis/download.txt (automatically generated
log file)
|
| |
Requirements
|
- Linux, UNIX, or Windows
- PERL 5.003_07
- Local Analysis 0.01 or newer.
|
| |
Description
|
|
Specified files are logged as they are accessed. This is a nice enhancement
to the standard logging that the web server does, as it only tracks what
you specify. It masks the download directory to prevent other sites from
linking directly to your downloads. Download Tracker uses a combination
of JavaScript and PERL to track the downloads. The following information
is stored for further analysis using Local Analysis: Date, Time, IP Address,
Item.
|
| |
Setup
|
- Copy all of the files to /cgi-bin/daboo/download/ directory.
- CHMOD everything to 755
- If you have not already downloaded Local Analysis, download and install
it, so that you may view the log files generated by Download Tracker.
- Edit $DownloadDir="/downloads"; in download.pl to point
to the location of your downloads. "/" may be used if there
are a number of download locations.
|
| |
Usage
|
- Mimic the Following in your HTML document:
Standard Link: [<a href="/downloads/software/PERL_scripts/localsearch.zip">Download
Local Search Engine</a>]
Download Tracker Enhanced Link:[<a href="#" onClick="MM_openBrWindow('/cgi-bin/daboo/download/download.pl?link=/software/PERL_scripts/localsearch.zip','D','width=100,height=100')">Download
Local Search</a>]
- link is used to complete the link to the downloadable ($DownloadDir+link=download
file. link is also used as the description that is stored in the download.txt
table.
|
| |
Notes
|
- To View the logs you need to download and install Local Analysis 0.01
or newer.
|
| |
History
|
|
0.02 (01-16-2002)
|
| |
| 0.03 (03-16-2002) |
- Added $DownloadDir variable to download.pl
- Revised the usage of "links" via GET.
|
| |
| 0.04 (06-18-2002) |
- Tightened up the code to improve efficiency.
- Added handling routine to filter out duplicate downloads from same
IP in the same day. Double clicks... will no longer be logged.
- Improved download.txt efficiency, by making mods to reduce file size.
|