I'm looking for an alternative to ip2location a database available online.
Here's what I need to do:
as a visitor comes to my site I need to determine what State or Province (canada) they're in based on their IP address.
Now I know this can never be 100% accurate b/c some ISP's have servers in other areas of the US and Canada then where the visitor is located.
SO: once I have the city & state/province I will then want to work with that data in a PHP variable to display advertisments based on that persons Geo Location.
I need the DB, plus a script to get the visitors IP address, and store the IP, City, and state/province in variables so I can manipulate them from there.