Can i have the click counter working as follows;

Post your Click counter digestion problems here
Post Reply
Danlew
Posts: 13
Joined: Thu Dec 22, 2005 5:02 am

Can i have the click counter working as follows;

Post by Danlew »

Can i have the click counter working like this on the home page, and how do i do this?


Total No. of Hits: 45,213,832 (will be the homepage Hits)
Total No of Individual Visits: 1083865 (will be the ccount link hits)
Last Updated 30-Dec-2005
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

CCount does not count HITS, but CLICKS. How to display the count see readme.htm file.

If you have a lot of visitors I suggest you find a counter with a MySQL database.

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Danlew
Posts: 13
Joined: Thu Dec 22, 2005 5:02 am

Post by Danlew »

Ok, Ive had a little look around your website & I guess what i am really after is something you already have, and that seems to be the PHP text hit counter 1.0.

Now just to let you know I have Installed this successfully, but I am having troubles working out your read me file doesnt tell me where i need to put the display on my Home page, the display is what ive listed here:

84382 visits since xx-yy-zzzz
Number of visitors so far: 84383
84384
This page has been visited 84385 times!

Etc, etc ...
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

See the readme again, under "Quick installation" starting with "Now to make your counter work just use this piece of code on your site:"
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Danlew
Posts: 13
Joined: Thu Dec 22, 2005 5:02 am

Post by Danlew »

I have put the code in

<SCRIPT LANGUAGE="Javascript" SRC="http://www.mysite.com/counter/counter.php?page=index"><!--
//--></SCRIPT>

but it is not working, do i need an Admin for this to work?

do i need to put this in somehere also;

84803 visits since xx-yy-zzzz
Number of visitors so far: 84804
84805
This page has been visited 84806 times!

Etc, etc ...



and how do i change the words around it? if i want it to say

84803 visits & updated since xx-yy-zzzz
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

What is the URL of your page, where this code is?

This code will only print out the NUMBER (for example 1234), all the words around the code are in HTML and you should add/edit them in your HTML editor.

You can just create the page in your HTML editor and then insert the above code in place where you want the number of clicks to appear. Here is an article on how to do it easily without any HTML knowledge:
http://www.phpjunkyard.com/tutorials/cut-paste-code.php
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Danlew
Posts: 13
Joined: Thu Dec 22, 2005 5:02 am

Post by Danlew »

Sometimes Ive got to slap myself in the face, Ive got it!
but you know i havnt done too bad for someone that has never gone to school & developed a full commerce site.

Thanks once again Klemen,
I got your name right this time

Dann
Post Reply