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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mjcoyneCommented:
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
FishMongerCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.