Forum Moderators: coopster
Is there a central location anywhere which lists the IP addresses that a country starts with?
we pay for a list from someone called ip2location and i've been very happy with them.
i believe there are free lists available too
They also offer various commercial alternatives, either API or download.
Be aware that none of the location systems are 100% accurate (or possibly even 99%), but they are useful in certain circumstances.
If you are dealing with US traffic then it's much better for location from IP than the UK for example.
Also, MaxMind show you how to construct MySQL queries for the free download.