|
Posted by Erwin Moller on 10/04/07 10:06
shror wrote:
> I want to create a counter for free to my users, so that anybody could
> generate a small piece of code and add it to his website and by this
> way they run their own counters for free
> is there a simple way or a ready made php script that could do this.
>
> If anybody could tell me how to do it or the steps will be really
> appreciated.
>
> shror
>
Hi shror,
That is not really complicated.
But you'll have to be clearer.
Do you want to store in a database?
Do you want a counter that counts every page, or just hits on a domain?
If you are new to PHP, I would advise you to use something like google
analitics for your sites. (urchin tracker)
You only need to add a small piece of Javascript to your pages of
interest, and make a (free) account at google per domain you want to track.
The result will be a much more professional reporting than a simple counter.
Of course, if you want to make a counter because you want to learn how
to do it in PHP, just ask again, and we will get you going.
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|