CopThis
Free perl cgi e-mail and site counter scripts - dtp-aus.com (logcount cgi and loglook cgi are unix perl cgi site counter and log viewer scripts, enabling you to track visits through your site) from the popular html / dtp tutorials plus.
http://www.dtp-aus.com/cgiscript/coptscpt.shtml