Friends i am planing to create my own script to count visiters on my site . please help me and guide from the scratch .
If you just want to count the visitor number, you could include a php script in every page which adds the ip of the visitor into dabase, checks if already exists, if not adds +1 to visitor count and so on. But I would recommend you using a premade service or script.