Forum Moderators: phranque
any suggestions on a good log analyzer/tracker program? Was using Live Stats 5.0 and Weg Trends on former NT host, and while they were a bit bulky, I loved 'em. Now on a Unix box, hate the stats the host company gives me, but can't find a Perl script I like. Suggestions?
use Socket;
use strict;
print << "EOF";
Content-Type: text/html
<HTML><HEAD><TITLE>Log Report</TITLE>
<LINK rel="stylesheet" href="/stylesheets.css" type="text/css">
</HEAD>
<BODY>
<
><SPAN class="mainhead">Log Report</SPAN><
>
EOF
my ($iFile, $value, $vid) = "";
if ($ENV{'REQUEST_METHOD'} eq 'GET') {
$iFile = ($ENV{'QUERY_STRING'});
$iFile =~ s/\//g;
($vid, $value) = split(/=/, $iFile);
}
my $log = $value;
if (length($log) == 0) {
print qq