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: 5.00 (out of 5)
Number of ratings: 1 Votes

Visitor Rating

Getting visitor information
26745 Getting visitor information http://www.geekpedia.com/prog_ttrls.php?id=22 Getting information about your visitors is interesting and sometimes useful for generating statistics, especially when you have a high traffic. 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 Getting visitor information:


Other links at PHP > Tips and Tutorials > Web Traffic Analysis
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:

Capturing click data is useful when you want to look at trends such as pages that are looked at the most, or amount of traffic.
To do this you would need to call the function below each time a page is loaded to capture the click data such as user ip, page title and url. Ofcourse you can capture more info here, for example date.
Further on you would need to save the click data in a database or text file (for example a csv file ready to be viewed in excel).
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:

Getting information about your visitors is interesting and sometimes useful for generating statistics, especially when you have a high traffic.
Category:

safeReferral Function
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: 19869
Categories: 1275
Registered Users: 783
Mailing List Subscribers: 2049
Unique Outgoing Hits: 233784

Pagerank Statistics
PR 10
1 site(s)
PR 9
11 site(s)
PR 8
49 site(s)
PR 7
207 site(s)
PR 6
656 site(s)
PR 5
1691 site(s)

PHP News