Re: [WSG] Web counters

2005-02-22 Thread Kornel Lesinski
On Tue, 22 Feb 2005 09:16:17 -0800, InfoForce Services  
[EMAIL PROTECTED] wrote:

I hope this is not off topic. If it is, reply to [EMAIL PROTECTED]
What is a good web standards web counter to add to a web site to monitor  
web site hits. Some counters will say  that hitting the back button to  
go back as a web site hit. A client would like to see how many times the  
web site I built is accessed.
Easiest solution is to use Webalizer. It analyzes server logs, so
it's invisible to users and doesn't require any code changes from you.
--
regards, Kornel Lesiski
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Web counters

2005-02-22 Thread Andy Pieters
On Tuesday 22 February 2005 18:33, Kornel Lesinski wrote:
 On Tue, 22 Feb 2005 09:16:17 -0800, InfoForce Services

 [EMAIL PROTECTED] wrote:
  I hope this is not off topic. If it is, reply to [EMAIL PROTECTED]
  What is a good web standards web counter to add to a web site to monitor
  web site hits. Some counters will say  that hitting the back button to
  go back as a web site hit. A client would like to see how many times the
  web site I built is accessed.

There are a few different ways to do this:

1. Use a script that is already written (search the web)
2. Write your own counter
 The easiest one uses a text file to keep track of visitors
  But you can also have it update and use a MySql database
 It can output nothing to the users or a text count or even a live made image
  you can code wether or not you want a hit counter or a visitor counter 
(hit means inc 1 everytime the page is requested) (visitor means unique ip in 
a given timeframe - like 24hrs)
3. Like said by Kornel Lesinski use Webalizer

If you want I can give you my counter script.  --just let me know -- even if 
you decide not to use it, you can learn from it.

With kind regards


Andy

-- 
Registered Linux User Number 379093
Now listening to [silence]
--
Feel free to check out these few
php utilities that I released under the GPL2 and 
that are meant for use with a php cli binary:
http://www.vlaamse-kern.com/sas/
--


pgpGzq7tqi35D.pgp
Description: PGP signature