This Should Be Easy

jamil

New member
...for someone to answer. I've got very limited experience with websites running on Unix though.

My ISP has web space for me. When I make an ftp connection to my site, I see the following directories:

cgi-bin
htmldocs
logs

Now htmldocs is the directory where pages viewed in my website go.

Under the cgi-bin directory, there exists this file:

webstats.cgi

It's a Perl script used for tracking who has visited the page. The script has the following code:

#!/usr/bin/perl -w

$stat = `/usr/local/bin/wwwstat -cgi -H "Web Statistics" ../logs/access_log`;

print "$stat";

My question is how would I go about calling this Perl script with each visit to my page? Is this something I could do in HTML, or is it something I would have to have my ISP do? The ISP pretty much does not get involved in website development, and this is why I haven't asked them...yet.
 
Back
Top