Scriptsmount a free web scripts directory provides website scripts, webmaster scripts, web directory scripts, directory scripts, php scripts, perl scripts, cgi scripts, html scripts, database scripts, asp.net scripts, form scripts, guestbook scripts for webmasters
Web Scripts :: PHP :: PHP Tips and Tutorials :: Counters
13.
Simple Flat File Counter
|
|
New to PHP? This tutorial teaches you how to make a PHP Counter, without using MySQL, so if you do not have access to MySQL then you can still do it. In the tutorial you will learn the basics of file handling and sessions, which are vital operations in most PHP scripts. If you can't seem to crack it then I have added the full script at the end just incase
Hits: 21 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
Category: PHP :: PHP Tips and Tutorials :: Counters
|
14.
phpNet's Text counter
|
|
Counters are used in many websites so that the webmaster will be able to see how many people come to their website. They are used throughout the web on numerous websites, sometimes all too common. I recommend not using a counter unless you have a decent website that will attract a lot of visitors, but you may do so anyways if you so desire. Enough small talk, time for the actual tutorial. 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.
Hits: 43 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
Category: PHP :: PHP Tips and Tutorials :: Counters
|
20.
Counting unique visitors
|
|
This tutorial will teach you how to create your own advanced counter. This is not a common way when you need to write each time when user reloads the page, but this is cookies based technique for counting real people. You will be able to count old and new visitors, and hits as allways. Information is stored in one MySQL table. This pretty fast method works great for heavy sites.
Hits: 13 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
Category: PHP :: PHP Tips and Tutorials :: Counters
|
|
|
|
|