Unique Visitors Script

UNIQUE VISITORS - A very simple utility to parse Apache log files and print a listing of unique visiting domains. Copyleft 2005 - Nathan E. Pralle DESCRIPTION: This utility parses an Apache log file and determines how many unique domains visited your site, then compiles a list of them (good for directing to an email or logfile). It uses a cache file to speed up the process as well (not having to do DNS lookups all the time). It only handles the first level of a domain, IE: blah.mchsi.com and dink.mchsi.com will just be listed as 2 entries from mchsi.com. SYNTAX: perl unique_visitors.pl <days> Where <days> is the number of days back you want to look. I usually run mine at 12:30am and use a '1' to get the previous day. EXTRA: You must have a file available called "unique_domains.dat& quot; in the same location as this binary and chmod'ed to 777. This is the cache file for this binary. I recommend: 'touch unique_domains.dat;chmod 777 unique_domains.dat'

 
Visit Site:
Unique Visitors Script
Version:
1.0 
Filed in:
CGI & Perl / Scripts & Programs / Web Traffic Analysis
Platforms:
Linux 
Databases:
No Database 
Date Added:
Jun 20, 2005 
Last Updated:
Jun 20, 2005 

License and Pricing Information

Freeware

If you use it, send me an email. I'm curious. :)

Price: $0.00 USD

Freeware

If you use it, send me an email. I'm curious. :)

Price: $0.00 USD

Freeware

If you use it, send me an email. I'm curious. :)

Price: $0.00 USD

Freeware

If you use it, send me an email. I'm curious. :)

Price: $0.00 USD

Publisher site visits: 1,315
Average rating: 4.00
Total ratings: 3

Be the first to review this listing!

Share this Listing