Solved

Invisible counters on web page without ads for cgi/html based web pages.

Posted on 2011-02-15
5
399 Views
Last Modified: 2013-12-25
I can't seem to find free  code for invisible page counters without adds. This seems like it should be a simple script. I am creating the pages manually and remember a while back it was relatively easy to include free visible counter code in web pages. Any ideas for the invisible counters?
0
Comment
Question by:libertyforall2
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:TimBare
ID: 34900745
0
 

Author Comment

by:libertyforall2
ID: 34901050
Well it generate the code below but I need to embed it within a cgi file. I know I need to add print in front of the beginning scripts but not sure where.

<!-- Free Hit Count Code START --><a href="http://www.freehitcount.com" target="_blank">
<script>var id="royhuff"; var showme='n'; var st='img'</script>
<script language="JavaScript" type="text/javascript" src="http://www.freehitcount.com/pphlogger.js"></script>
<noscript><img alt="free hit counter with web statistics logs" src="http://www.freehitcount.com/pphlogger.php?id=royhuff&st=img"></noscript>
</a><!-- Free Hit Count Code END -->

Open in new window

0
 
LVL 2

Expert Comment

by:TimBare
ID: 34901494
i'm not a CGI guy, but i would imagine you would put it b/w the </body> and </html> tags where you have all of your html... give that a go, and if it doesn't work, let me know...
0
 
LVL 2

Accepted Solution

by:
TimBare earned 500 total points
ID: 34901535
print qq{<!-- Free Hit Count Code START --><a href="http://www.freehitcount.com" target="_blank">
<script>var id="royhuff"; var showme='n'; var st='img'</script>
<script language="JavaScript" type="text/javascript" src="http://www.freehitcount.com/pphlogger.js"></script>
<noscript><img alt="free hit counter with web statistics logs" src="http://www.freehitcount.com/pphlogger.php?id=royhuff&st=img"></noscript>
</a><!-- Free Hit Count Code END -->};

Open in new window


or that... if it doesn't work, try moving/removing the html parts of the code.... (<!--blah--> and <a href ...></a>)
0
 

Author Closing Comment

by:libertyforall2
ID: 34912050
This seems to work.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now