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

DevShed:
Using Code Igniter to Build an IP-to-Country Mapping Application
Feb 25, 2009 @ 13:57:11

DevShed finished off their tutorial series looking at mapping IPs to countries in a CodeIgniter application with this new article completing the application to provide a correct products list based on their location.

In this final chapter of the series, I'll be discussing how to build multi-lingual web pages by combining the functionality brought by the "iptocountry" MySQL table that you learned in previous tutorials and the power of the Code Igniter PHP framework.

Their database tables sort the prodcuts out with the three character country code they're associated with. The IP-to-country tables then help with the translation between the visitor's IP address and which products should be shown.

tagged: country ip mapping products codeigniter framework

Link:


Trending Topics: