Hit Counters
Hi,
I would like to know if it is possible to add a hit counter to a page or site so that it is only visible by me ??
Thanks
Tony
Hi,
I would like to know if it is possible to add a hit counter to a page or site so that it is only visible by me ??
Thanks
Tony
mjames posted this at 15:16 — 1st January 2001.
They have: 2,064 posts
Joined: Dec 1999
I don't know about ones visible by just you, but you can get a great invisible one to everyone at SiteMeter.com.
Mark Hensler posted this at 18:55 — 1st January 2001.
He has: 4,048 posts
Joined: Aug 2000
yes you can do that, but you need to use a server-side language.
Just use REMOTE_ADDR to get the IP of the client, if it's your IP, show the count. This only works if you have a static IP.
Mark Hensler
If there is no answer on Google, then there is no question.
mjames posted this at 22:54 — 4th January 2001.
They have: 2,064 posts
Joined: Dec 1999
Not sure if I'm following you, but I don't think you need a server-side language to do what I suggested. SiteMeter has an option to change the tracker's color in the manager and you can change it to your site's background to make it invisible. Nothing else required.
Mark Hensler posted this at 05:28 — 6th January 2001.
He has: 4,048 posts
Joined: Aug 2000
Marc James-
anyone can see it if they highlight it or view source...
If you use a server-side language, you can determin the IP of the visitor.
If the visitor is not you, don't PRINT the count at all. You'll increment the count, you just won't print the count to the browser.
This only works if you have a static IP.
Whatever suites you best... hiding it by matching the bgcolor may be all you need.
Mark Hensler
If there is no answer on Google, then there is no question.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.