Effective Geotargeting with PHP
By
Akash Mehta
2008-01-27
IP Targeting: It’s tricky business!
For geo location, the IP address of your users is probably the most
useful piee of information. The IP address of a user can be matched
against a database of current IP allocations globally to work out where
the user is based; the trouble is maintaining an up-to-date database of
the current IP allocations. Economies of scale kick in at a point, and
a company called MaxMind manage to offer some pretty accurate
geolocation technology entirely free of charge. If you're interested in
the technical details, they have a detailed
explanation of the IP location process on their website. Their database is so popular that there's even a
PEAR package
to suit, although MaxMind provide their own pure PHP library and PECL
extension — we'll cover both pure PHP versions in this tutorial.
|
|
|
4 Votes |
|
|
|
|
You might also want to check these out:
|
Leave a Comment on "Effective Geotargeting with PHP"
You must be
logged in to post a comment.
Link to This Tutorial Page!