?
Solved

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

Posted on 2011-02-15
5
Medium Priority
?
406 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

765 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