View Single Post
Old 11-13-2011, 07:34 AM  
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Quote:
Originally Posted by borked View Post
got the country correct but was off by around 500 km

Code:
curl -s http://geoplugin.net/php.gp/|awk -F '"' '{ print "http://maps.google.com/maps?q="$32 "," $36}'
gave me a pinpoint that was ~2km off
The main geoip IP company, MaxMind, claims 80% accuracy outside the US, meaning they are wrong two times out of ten. That tells you something about relying on geoip for your site.
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote