IP address to Location in Drupal

sisyphus - September 10, 2009 - 08:15

I have a table of IP addresses of Countries i.e. a range of IP addresses of each country.

is there any module to support to determine the location of a user by the IP address?

Or how can i do the sql query to do so?

Should i remove those '.' dot of IP then compare with the IP ranges? What should I do?

thanks a lot.

http://drupal.org/project/ip2

adam_b - September 10, 2009 - 08:57

http://drupal.org/project/ip2cc may do what you want and has a list of similar modules

btw, this can be found by typing "ip address country" in the search box at the top right...

 
 

Drupal is a registered trademark of Dries Buytaert.