News Feed
Sections




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

DevShed:
Building an IP-to-Country Mapping Application with PHP
February 04, 2009 @ 08:47:30

DevShed has launched a new four-article series today looking at resolving a user's IP to their country via the database provided here.

If you have content in several different languages, your visitors probably speak several different languages as well. Wouldn't it be nice to serve them content from your site in their native language, based on the country from which they hail? You can, even if you're a small company, with an application that tells you a visitor's country based on their IP address. This four-part article series will show you how to build the application and incorporate it into your web site.

They just get things set up in this first part of the series - grabbing the CSV file from the site, creating the MySQL table to import it into and running a script to parse the CSV and push its data into the table.

0 comments voice your opinion now!
tutorial ip country mapping csv database mysql


blog comments powered by Disqus

Similar Posts

Deepak Radhakrishnan\'s Blog: Configuring Apache - PHP - MySQL on Windows (WAMP Configuration)

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 10)

HowTo Forge: Installing Lighttpd With PHP5 And MySQL Support On Mandriva 2008.0

Matt Cockayne: Bootstrapping ZF2 Forms

SitePoint PHP Blog: What to Expect from Yii 2.0


Community Events





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


podcast introduction example interview series composer opinion symfony conference framework list language security tool version package community library voicesoftheelephpant laravel

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