The best way of organizing GeoIP on the website?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/code-flow.club/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
23 views
Yes, and in fact the questions regarding this theme a lot:
  1. Why the giants of the web do not give any API for everyone? (if you did give, I would appreciate links)
  2. How reliable is currently this method of determining the user's location?
  3. Are there other ways geolocation on the site? (do not take into account self-evident "Enter themselves" very young and able to ask the browser)
  4. Can you trust HTTP_ACCEPT_LANGUAGE, if you need only divide the site into a few languages?
by | 23 views

7 Answers

0 like 0 dislike
by
0 like 0 dislike
2. Depends on the relevance of the database chosen service
\r
4. It is possible, but still allow the user to change the site language
\r
For one of my recent projects I used — ipinfodb.com/ip_location_api.phppretty accurate and current database, tightened caching, that would reduce the number of requests and still works like a clock.
by
0 like 0 dislike
by
0 like 0 dislike
ipgeobase.ru/ I use this service.
by
0 like 0 dislike
There are still Russian www.ashmanov.com/tech/geo
But on Habre wrote that it didn't work — Ashmanov repented moving.
by
0 like 0 dislike
ipgeobase.ru Works only in Russia or CIS, and ipinfodb.com/ip_location_api.php working with the world, but the answers will be in English.
We yuzaem and then another if the first is not defined ask the second, it is clear to us that the one who came not from the CIS or Russia will understand the answer in English.
by
0 like 0 dislike
In debianish there is the package geoip-database, and binding for PHP package php-geoip.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Apr 1, 2019 by sht0rm13
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
22,961 users