News Feed
Sections




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

Sameer Borate's Blog:
Geographical information lookup using GeoNames
April 19, 2010 @ 08:25:01

New on his blog today Sameer Borate has posted a new tutorial about using the GeoNames web service to look up geographical information about your visitors (and help with targeting the experience just for them).

Geographical information integration is rapidly becoming an integral part of many websites. People use geographic data for a wide variety of applications. From location based content targeting, censoring information by geographic areas to analyzing website traffic by region. It is surprising how much free geographic information is available on the web. GeoNames is one such service.

The database is released under a Creative Commons license, so it's available to all and getting the libraries installed to use it is a single "pear install" command away. He includes code showing how to make a sample search for cities, countries and "neighbors" as well as just performing a generic search off the data. He also throws in a method for accessing the information via jQuery (an ajax call)

0 comments voice your opinion now!
geographical geonames webservice lookup tutorial


blog comments powered by Disqus

Similar Posts

PHPMaster.com: Logging with PSR-3 to Improve Reusability

SitePoint.com: How To Handle File Uploads With PHP

ZendCasts.com: Creating RSS & Atom Feeds with Zend_Feed

DevShed: Using Abstract Factory Classes in PHP 5 to Work with Online Forms

Andrew Podner: Using Stackato for PHP Applications in a Private PaaS


Community Events





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


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

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