Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/articles/php-tutorials/)
-   -   Getting Visitor's Country with PHP using Geo IP (http://www.go4expert.com/articles/getting-visitors-country-php-using-geo-t3511/)

rendra_mm2 16Jul2009 07:58

Re: Getting Visitor's Country with PHP using Geo IP
 
Please Help me ... Can u send another link 4 me, 2 download the CSV file

shabbir 16Jul2009 09:03

Re: Getting Visitor's Country with PHP using Geo IP
 
Quote:

Originally Posted by rendra_mm2 (Post 52702)
Please Help me ... Can u send another link 4 me, 2 download the CSV file

I am not sure why you should not. The attachments are for all members to download.

LenoxFinlay 22Jul2009 14:51

Re: Getting Visitor's Country with PHP using Geo IP
 
Sometimes you just need to know what country your site visitors are coming from—for example, if you're trying to implement geo-targeted advertising. That's where a tool like MaxMind's GeoIP comes in—it lets you easily extract geographic data from your visitor's IP address.
MaxMind makes available both commercial and free databases; the commercial ones are extremely precise and can get as fine-grained as the user's city, while the free version can only identify the country of origin. We'll use the free version in this article. If you need more detailed information, such as the remote client's city and state of origin, you will need to purchase a more detailed database from MaxMind.

iglow 13Dec2009 20:53

Re: Getting Visitor's Country with PHP using Geo IP
 
and can somebody give a code which allows to redirect users to special pages depending on their country [for example peopl from usa/uk/ca to english.htm, from france,belgium to french.html, rest to rest.html] ?
can it be done with php similar to what was shown here?


All times are GMT +5.5. The time now is 23:45.