News Feed
Sections




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

DevShed:
Generating Web Pages in Multiple Languages with a PHP IP-to-Country Mapping Application
February 19, 2009 @ 12:03:18

DevShed has the next in their "IP to country" series posted today, this new tutorial showing how to create a more customized site (a simple page or two) with the IP detection and a front controller.

Welcome to the third part of a series on developing an IP-to-country mapping application with PHP. Made up of four approachable tutorials, this series teaches you how to create a program like this by using a single MySQL lookup table, and shows you how to use this program to enrich your own web sites with geo-location capabilities.

They use the mapping data you pulled from the Webnet77 ip-to-country database (and dropped into the MySQL database) to evaluate where the user is coming from and display product information based on the two letter country code it returns. They throw in a bit about a front controller too, a simpler way to ensure that the user's location code is set for every request.

0 comments voice your opinion now!
mapping application front controller mysql database tutorial


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Create Advanced Facebook Apps with Facebook JavaScript

DeveloperTutorials.com: Simple System Maintenance with PHP-CLI

Builder.com: Match users to their geo-location with PHP and PEAR Net:Geo

SitePoint PHP Blog: Build a Lifestream with SimplePie

Till Klampaeckel's Blog: Iterating over a table (with Zend_Db_Table and Zend_Paginator)


Community Events

Don't see your event here?
Let us know!


library voicesoftheelephpant community release threedevsandamaybe podcast laravel introduction language laravel5 symfony series api interview extension version framework security opinion unittest

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework