|
|
Getting your Visitor's Details Using PHPYou can get quite a bit of ... about your visitors without having to use a third party tracking ... I'll outline the PHP commands you can use to capture some of this data. The details yo 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.Visitor's IP address :
http://ip-to-country.webhosting.info/ for one such script.You can use PHP to resolve the ip address to a domain name to get the visitor's ISP in most cases. The ISP's domain will show up if PHP is able to resolve the IP to a proper domain. You can do this as follows.
information will help you evaluate which parts of your site is getting more page views.A more advanced user can also use this information to create a click-stream of the user. A click-stream is the path that a user follows while he goes through your site. This lets you see how effective your site's navigation is.
http://www.yourdomain.com/guestbook.php, the requested page would be 'guestbook.php'.These pieces of information will help you build a visitor tracker in PHP , which will be able to tell you quite a bit about your visitors and how they use your site.
Source: Free Articles from ArticlesFactory.com
ABOUT THE AUTHORVinu Thomas is a consultant on Webdesign and Internet Technologies.
His website is http://www.vinuthomas.com He is presently consulting http://www.indiaresortssurvey.com |
||||||||||||||||||||||||||||||||||||||||||
Partners
|