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

safeReferral Function
26747 safeReferral Function http://www.bannerlessfreewebhosting.com/bobs-scripts/safeReferrals.html safeReferral Function 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 safeReferral Function:


Other links at PHP > Tips and Tutorials > Web Traffic Analysis
Most of the popular site usage statistics analyzation software fall flat when attempting to perform some of the more complicated calculations and reporting. Many times we find ourselves wishing we could record and monitor some statistical information, and then not only have it displayed in a useful and meaningfully way, but also in a way that makes sense to us. Specifically my problems with the common webalizer apache log file parser, are its rough-around-the-edges support for referral logs and its handling of google search terms, as well as the complete absence of visually presented trend, or average, lines through time, and the fact that it is imposible to use webalyzer to view real-time information. On the other side there is the javascript based solutions, similar in implementation to "free counters" these setups require extra code be inserted into all of your pages and run on the client side (the number of things that could go wrong with this is a scary thought, given that most of the information can be gathered, safely, on the server-side).
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:

safeReferral Function
Category:

Logging Your Website With PHP Using a Flat File
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
199
2044
829
286
175
1801
1439
913
1177
7568
70
917
59
2238
175

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: 19871
Categories: 1275
Registered Users: 765
Mailing List Subscribers: 2047
Unique Outgoing Hits: 231058

Pagerank Statistics
PR 10
1 site(s)
PR 9
14 site(s)
PR 8
39 site(s)
PR 7
241 site(s)
PR 6
695 site(s)
PR 5
1770 site(s)

PHP News