PHP Hit Counter


Well, I spent the better half of today creating a little hit counter out of PHP for my blog. Everything is XML based since I don’t have a database. The counter displays the number of hits to my blog within the past 24 hours and the past 30 days … To the hour. After 24 hours pass, I should be able to keep better track if my numbers are going up or down. Same goes for 30 days. Perhaps I should change it to a week.

Now that the graphical hit counter is done, I need to start making some charts. I would like to see a sort of zeitgeist of keywords people have been using for each month. I have to check out those rreferrers as well. I’ve had it with only being able to see the last 10 rreferrers to my website. I feel like I’ve missed out on so much data with the free hit counter services.

Well … I’m off to do some more programming with PHP and XML. Maybe I’ll use some XSL to help with the reports.

Leave a Reply