Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Building Sample Programs for an IP-to-country Mapping Application
Feb 11, 2009 @ 09:44:29

DevShed has posted the second part of their series looking at an IP-to-Country mapping application, this time with a focus on building some simple applications to use the data inside.

Building a web site that will be seated on a multi-lingual platform often requires developing an IP-to-country application that permits you to map users' IP addresses to their corresponding countries. [...] This database contains over 82,0000 records and allows you to map more than 3,200,000 IP addresses to their respective countries. This can be really handy for developing different IP-to-country applications with minor efforts.

The review the previous article on making the database and move ahead to create a script that selects - based off the IP range - the country that address could be from.

tagged: ip translate country mapping application program tutorial

Link: