NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

Counter tutorial
25856 Counter tutorial http://www.chipmunk-scripts.com/tutorials/counter.php This simple tutorial will explain how to program a simple text-file counter. PHP > Tips and Tutorials > Counters Oct 15, 2006

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  



Other links at PHP > Tips and Tutorials > Counters
A counter is an essential part of a site to know how many people are coming to site. Here is an easy way to make a counter. All you need is access to PHP and be able to chmod a directory. We’re going to save the amount of hits in a .dat file, so you don’t even need a mySQL database. First off, you have create a directory and CHMOD it 777 so PHP can write the counter.dat file.
Category:

Simple Visitor Counter
Category:

Simple Hit Counter Script
Category:

Adding a basic PHP Text Counter to your website
Category:

For this hit counter we are going to use MySQL, PHP and PHP's awesome built in support for sessions. I want to stress the avoidance of cookies for something like this because you are going to be forcing this upon each user's browser and the world of Microsoft users are shifting towards Internet Explorer 6 which has created some great headaches for webmasters that like to use cookies. With PHP's sessions the cookie is stored on the web server and not the user's computer which is a benefit because now the webmaster has control, not the user's finicky web browser.
Category:




Main Category
178
2033
792
284
174
1802
1113
905
1157
7350
70
898
59
2185
172

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 19151
Categories: 1275
Registered Users: 689
Mailing List Subscribers: 2041
Unique Outgoing Hits: 219706

Pagerank Statistics
PR 10
2 site(s)
PR 9
9 site(s)
PR 8
36 site(s)
PR 7
289 site(s)
PR 6
828 site(s)
PR 5
2006 site(s)

PHP News