News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way
PHP geotargeting techniques
September 07, 2007 @ 08:56:00

On the website, there's a quick how-to on using geo-targeting on your website with a combination of a geolocation database and a PHP module to parse it.

There are many cases that we need to display different content to our users depending on the location that they are visiting our site. In this tutorial we will give some examples regarding geo targeting with php.

They got their geolocation database from Maxmind and loaded up this module to make it as simple as a call to geoip_open and geoip_country_code_by_addr to get the location of the remote user.

1 comment voice your opinion now!
geotarget geoip module tutorial database geotarget geoip module tutorial database

blog comments powered by Disqus

Similar Posts Zend Framework from Scratch

DevShed: Utilizing Private Methods with PHP 5 and Member Visibility

Stubbles Blog: Loading classes from the XP-Framework

Zend Developer Zone: Creating Web Page Templates with PHP and Twig (part 2) Creating Web Services with PHP and SOAP, Part 2

Community Events

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

deployment library opinion voicesoftheelephpant language bugfix introduction install tips api list framework package podcast interview community laravel symfony release series

All content copyright, 2014 :: - Powered by the Solar PHP Framework