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

Text counter
25852 Text counter http://php-net.net/topic.php?t=2742 In this tutorial you will need to create two files. The first one is a text file called "counter.txt" that will be used to keep track of the number of visitors. The second file is a php file called "visit.php" that will be used to add to the number of visitors. So create those two files on your website both in the main directory. Open up the "counter.txt" file in notepad or any other text editor that you prefer to use and type in the number zero and save the file. PHP > Tips and Tutorials > Counters Oct 15, 2006 Dude

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

Bookmark Text counter:


Other links at PHP > Tips and Tutorials > Counters
Here we are going to design simple image based hit counter to keep track of visitor. We are going to keep record in a text file so we do need any kind of database. We are going to keep whole record in counter.txt file. In the same directory where you putting the PHP file for this counter, create a file 'counter.txt' and CHMOD it to 0777. Initially put 0 in it and save the file. As this counter is image based we are putting our Image in "imgs" folder.
Category:

In this tutorial you will need to create two files. The first one is a text file called "counter.txt" that will be used to keep track of the number of visitors. The second file is a php file called "visit.php" that will be used to add to the number of visitors. So create those two files on your website both in the main directory. Open up the "counter.txt" file in notepad or any other text editor that you prefer to use and type in the number zero and save the file.
Category:

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
Category:

Simple Hit Counter Script
Category:

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:




Main Category
185
2034
801
286
174
1803
1129
909
1161
7393
70
905
59
2200
174

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: 19263
Categories: 1275
Registered Users: 735
Mailing List Subscribers: 2043
Unique Outgoing Hits: 228329

Pagerank Statistics
PR 10
2 site(s)
PR 9
9 site(s)
PR 8
37 site(s)
PR 7
292 site(s)
PR 6
825 site(s)
PR 5
2015 site(s)

PHP News