hi folks
i have to count the clicks on a site, but it must be unvisible for the visitor!
how can i realise that?????????
thanks for your help
globi
Do you have PHP capabilities? Database capabilities?
If so, then it's quite easy. You could just have a column in a db table update one time everytime the page is loaded. If you wanted it to only count unique visitors, then you could also have the script check the IP addy and update one time if the IP addy hasn't been seen that day. It all depends on how complicated you'd like it.
If not, I know javascript can do something similar which may help. It can write to a txt file I believe, in which case you could have the js script read the number in the text file, increment it by one, and write the new number to the file each time the page is loaded.
Let me know and I'll try to be more specific if possible. ![]()
Also, another option is to check into free and paid counter services (such as Bravenet). Some may have an option in the counter configuration to not show the counter on the site.
it also depends on your host, most hosts have a page with all your stats without having a counter on your page.
Ahhh, very good point. bfarber.com has one.
I would also like to know how to do this my host has phpMyAdmin, MySQL, and I can have php capabilities. If you do not want to post it here (I wouldent understand why) but I guess you can PM me or email me here
Well, my first suggestion is to check your site control panel. Many, many hosts have a page in the site control panel, where you can "auto-magically" install certain scripts (and guestbooks, page counters, etc are very common ones to have).
I intend to code a nice counter soon, but am unsure when I will release it.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)