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

Logging Your Website With PHP Using a Flat File
26748 Logging Your Website With PHP Using a Flat File http://www.phpfreaks.com/tutorials/22/0.php Logging Your Website With PHP Using a Flat File PHP > Tips and Tutorials > Web Traffic Analysis Oct 16, 2006

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

Bookmark Logging Your Website With PHP Using a Flat File:


Other links at PHP > Tips and Tutorials > Web Traffic Analysis
Getting information about your visitors is interesting and sometimes useful for generating statistics, especially when you have a high traffic.
Category:

Often, in order to keep track of these traffic statistics a webmaster will use some sort of script or program which monitors visitors and creates reports based on their needs. These scripts can range in size and complexity from a simple hit counter on a page, to a fully integrated data-mining application. They can also range in price from free unsupported scripts, to thousands of dollars for an integrated system. In many cases though, the first option is relatively useless, and the second is unnecessary (and usually outside of the budget). As is true with many things in life, the best solution is usually somewhere in between.
Category:

Logging Your Website With PHP Using a Flat File
Category:

Learn how you can create a small and simple PHP script to log your visitors activity into a file. You just need to add 1 line to each of your page to enable logging and the statistics will be collected in a html file so you don't have to setup any database for this task.
Category:

You can get quite a bit of information about your visitors without having to use a third party tracking software. I'll outline the PHP commands you can use to capture some of this data. The details you capture can be saved into a database, and retrieved later to check your site's performance and user details. The following information is captured using the server variable ($_SERVER) which is available from PHP 4.10 onwards.
Category:




Main Category
192
2037
816
286
175
1802
1222
911
1163
7478
70
907
59
2222
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: 19493
Categories: 1275
Registered Users: 748
Mailing List Subscribers: 2046
Unique Outgoing Hits: 227497

Pagerank Statistics
PR 10
1 site(s)
PR 9
13 site(s)
PR 8
32 site(s)
PR 7
256 site(s)
PR 6
779 site(s)
PR 5
1902 site(s)

PHP News