Answer the question
In order to leave comments, you need to log in
Best way to organize GeoIP on a website?
Indeed, there are many questions on this topic:
Answer the question
In order to leave comments, you need to log in
2. Depends on the relevance of the base of the service you have chosen
4. It is possible, but still give the user the opportunity to change the language of the site
For one of my latest projects, I used - ipinfodb.com/ip_location_api.php to reduce the number of requests and so far it works like clockwork.
There is also a Russian www.ashmanov.com/tech/geo
But on Habré they wrote that he did not work - Ashmanov repented of the move.
ipgeobase.ru Works only for Russia or the CIS, and ipinfodb.com/ip_location_api.php works with the world but the answers will be in English.
We use both, if the first one has not identified, we ask the second one, it is obvious to us that those who did not come from the CIS or Russia will understand the answer in English.
Debians have the geoip-database package, and PHP bindings, the php-geoip package.
Quite (if not the most) extensive database at ip2location.com , though free - only a small part of it. The subscription cost me $199, which is not cheap in principle, but for large projects where location accuracy is important, this is a good option.
Recently, the ipgeobase.ru service has become buggy (in terms of a long freeze when making requests to this service, so that the search engines began to think that my site was not working), I had to look for a new solution. The only decent free solution at the moment is geoplugin.com
geoiplookup.net - painfully accurately determines the location.
Plus they have a very simple and convenient API
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question