IP -> Country/State.. City?

Does anyone know of an efficient method for determining the physical location of a user based on their IP address? This isn't for any sort of fraud protection, so it's not critical that it be 100% accurate... It's just for a log analyzing script that I had written a while back... I thought it would be neat to add a user's location to one of the fields.

I know this can be done, I just which I knew how IP -> Country/State.. City?

 

 

 

 

Top