Text counter

Tutorials Shared by the Internet Community

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

Text counter

A simple no frills text counter that does illustrate some basic file handling in PHP
http://tutorials.programmingsite.co.uk/counter1.php
  • Total Hits: 13398

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 142 votes

  • Category: PHP/Counters

  • Submitted on: 2008-03-16 04:25:45

  • Submitted By: Devesh Khanna

  • Set as Favorite

Description:

A common feature on most websites is a counter to show how many visitors have been to your site. This is our first example to show how to achieve this

This example is very basic and far from ideal if you want an accurate count of your visitors because if you press refresh your counter will always increment by 1. This example does show some useful techniques such as opening and closing files .    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 38.03%  54
 Two starsTwo star  Vote LeftVote MiddleVote Right 9.86%  14
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 11.97%  17
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 10.56%  15
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 29.58%  42

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.






Advertisements