IP Address Geolocation From MySQL
Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
IP Address Geolocation From MySQLIn this short tutorial I will use a local MySQL database to do IP addresses geolocation. First download the database from this page: http://blogama.org/node/58 And then go in your favorite MySQL interface and type: SELECT * FROM `ip_group_city` where `ip_start` <= 4881709 order by ip_start desc limit 1; IP addresses use this format (example IP A.B.C.D): ip = (A*256+B)*256+C For example, if you have an ip of 74.125.45.100 (Google): It would become in the database: ip = (74*256+125)*256+45 = 4881709
|
Sponsored Links:
Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning







Recent comments
12 hours 33 min ago
14 hours 34 min ago
17 hours 45 min ago
20 hours 4 min ago
21 hours 14 min ago
22 hours 33 min ago
1 day 2 hours ago
1 day 6 hours ago
1 day 6 hours ago
1 day 21 hours ago