Tuesday, July 28, 2009

How to find out where a web visitor is from via with PHP script?

I want it so the script detects where they are from and echos their country.


How would this be done?

How to find out where a web visitor is from via with PHP script?
Hello Friend,





If you want to track your visitors...


pls. check http://www.statcounter.com





This is free stat counter provider. You can register with this site for FREE and can log your site visitor details very accurately. This site also offers you with INVISIBLE counter. Users never know that they are being tracked invisibly. So many features available.





I hope my answer is helpful to you





Regards


http://www.awesomeflashsites.com
Reply:I know that $_SERVER['REMOTE_ADDR'] will get the remote IP address of the client. I think you will then need a database of IP to country mappings to compare against.
Reply:Here's a tutorial -





http://www.justin-cook.com/wp/2006/11/29...


No comments:

Post a Comment