News Feed
Sections




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

Builder.com:
Match users to their geo-location with PHP and PEAR NetGeo
August 10, 2006 @ 07:37:29

Builder.com has a new tutorial posted today about the use of the PEAR Net_GeoIP package to help with the geo-location of the visitors to your website.

Ever wondered how sites like Google and Yahoo! always seem to know which country you're in, and automatically redirect you to the most appropriate country sub-site? Or how some Web sites display advertisements perfectly targeted to your city or region? Well, it isn't magic -- these sites are simply mapping your IP address to a geographical database to identify your location, and then using this information to send you precisely-targeted data.

They work through the steps to get it up and working - the installation, a few basic code examples to show how to use it, and a full example of how to target different areas with different kinds of ads (geographically-targeted advertising).

0 comments voice your opinion now!
pear geographically target advertising net_geoip package tutorial pear geographically target advertising net_geoip package tutorial


blog comments powered by Disqus

Similar Posts

NetTuts.com: Accepting Payments with GoCardless

Matthew Weir O'Phinney's Blog: Cgiapp2 Tutorial 1 - Switch Template Plugins at Will

Jeroen van Dijk: Multi-select faceting in Solr with Solarium

DZone.com: Date and time in PHP 5

Joshua Eichorn\'s Blog: HTML_AJAX 0.4.0 is released


Community Events

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


conference voicesoftheelephpant release laravel part2 framework performance php7 language community series symfony2 podcast interview configure application opinion introduction api example

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