Jump to content

Help With Counters


Recommended Posts

While looking around under cPanel I noticed that a web counter was available. I wanted to add a counter to my site, that is once I get it finished. I decided to add a counter to my temporary main page. Everything want without a hitch. (BTW, I called this counter "main")

 

I also have plains for "another" main page in a sub-folder to serve as the home page for a forum I am going to host. I decided it would be nice to include a counter for this site as well.

 

So configured another counter, with a different name then the one before, and added the HTML code to this temporary home page as before. All I get is a red "x", no counter. (see this site).

 

Can I have more then one counter? What do I need to do to the HTML counter code to get it to work? I tried adding a ".." before the "/cgi-sys" thinking I needed to go back to main folder, it didn't work.

 

BTW, if this is the wrong forum feel free to move it.

Link to comment
Share on other sites

Hey Jim,

 

Try this:

 

The current URL of the counter which does not work is:

>http://www.jhollin1138.com/todayplus/=%22/cgi-sys/Count.cgi?df=todayplus.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=G%22

 

Now, start by removing the %22 at the end of it, then get rid of todayplus/=%22/ not sure what the =%22 is doing there but its looking for the cgi-sys dir in that dir but its not there.

 

You should end up with this url. which should work:

>http://www.jhollin1138.com/cgi-sys/Count.cgi?df=todayplus.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=G

 

If ya need anymore help, please let me know,

James

Link to comment
Share on other sites

James,

 

Thanks for the tip. I went back to look closer at my HTML counter line. Although I didn't see the "%22" you found, I did find my problem.

 

><p class=MsoNormal align=center style='text-align:center'><img
src=="/cgi-sys/Count.cgi?df=todayplus.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=G"></p>

Between the "src" and "/cg-sys/" I had 2 "=". Darn typos. :rolleyes:

 

Thanks again for the help. Thumbs Up

Link to comment
Share on other sites

Ahhh! makes sense now, I didn't look at ur HTML, just played wi the URL until it worked. But if you look at:

 

>http://www.jhollin1138.com/todayplus/=%22/cgi-sys/Count.cgi?df=todayplus.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=G%22

 

You can see where the =%22 comes from, the = is your extra = sign, and the %22 is the " after the = sign, which is why there is one at the end too! The extra = sign obviously made the browser include the "s in the URL.

 

So yup, it all fits together now, glad you got it sorted!

 

James

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...