News Feed
Sections




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

WebDigity.com:
PHP geotargeting techniques
September 07, 2007 @ 08:56:00

On the WebDigity.com 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 Developer Zone: AJAX Chat Part Tutorial 6 : Updating the User List

PHP-GTK Community Site: Accessing geo-nick with Zend Framework (Zend_XmlRpc_Client)

DevShed: Moving Presentation Logic Out of Views with CodeIgniter

PHPMaster.com: The MVC Pattern and PHP, Part 2

Padraic Brady's Blog: Zend Framework Blog App Tutorial - Addendum #2: Revised Design, Date Helper


Community Events

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


api library laravel release podcast install example framework opinion series interview composer community symfony2 php7 performance application introduction configure conference

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