Effective Geotargeting with PHP
By Akash Mehta2008-01-27
Introduction
In this tutorial, we'll take a look at the technique of geotargeting,
or serving content to users based on their physical location. The
technology is invaluable; with simple techniques, you can target
advertising to specific users, collect more accurate usage statistics,
serve content in different languages for different regions and provide
local information like weather reports to your visitors. I'll briefly
cover what you need to know about geoip, and then move on to some code
samples of how to achieve it with the Maxmind database, using both the
standard PHP library and the PEAR version.
Tutorial Pages:
» Introduction
» IP Targeting: It’s tricky business!
» Getting started
» Let's write some code!
» Tips and tricks
» Going further
