Where can I find a good free counter for CGI

I downloaded nmstextcounter and it runs when I open the cgi file in the browser but I can't get it to work using it through an SSI.  It doesnt show up.  Is there another free counter out there?  Im so frustrated with CGI that I could scream. This should not be this hard.   any help is greatly appreciated.
monica73174Asked:
Who is Participating?
 
monica73174Author Commented:
Oh and just in case someone can help me get the one I have working here is how I have my include
<!-- #include file="/mkyle01/cgi-bin/counter.pl" -->
0
 
mjcoyneConnect With a Mentor Commented:
A quick look at the nmstextcounter's readme file indicaes that the SSI line should be:

<!--#exec cgi="/cgi-bin/textcounter.pl"-->

It's okay if you've renamed the file from textcounter.pl to counter.pl, but displaying a file (as an 'include' SSI statement will) is much different that executing (running) the script, as an 'exec cgi' statement does.

Your ability to make something like this work is completely dependent on your web server configuration, file permissions, etc.  What is your hosting setup like?  What operating system, server, etc.?

If you are purchasing hosting rather than running your own web server, chances are good that server side includes are disabled...
0
 
FishMongerConnect With a Mentor Commented:
Personally, I think hit counters are a waste but if you want to implement one, you can use the File::CounterFile module from cpan, which is free.

http://search.cpan.org/~gaas/File-CounterFile-1.04/CounterFile.pm
0
 
monica73174Author Commented:
This was for a class I was taking, thank you everyone for your help.
0
All Courses

From novice to tech pro — start learning today.