I run a very simply perl stats script on different servers, that stores environment variables in a text file. Works fine on unix server, but when I run it on the windows server it stores 2 lines in the file for one visitor. Example: The referer variable gives the url from the external site, and it gives my url as the referer to the cgi script. This is really no prob until I display the file
in a html table. Could someone tell me how to eliminate that extra line, or how to display every other line in the html table using the following code, or facsimile?
open (DB, "<$data_file");
$row = $_;
@fields = split (/\|/, $row);
I just use a simple SSI to call the scripts. Thanks in advance.