How To Geo-target Your Adverts
|Computing : Learning PHP|
If you feature your own adverts on your site, or have any country specific content, then it will help if you can geo-target the content.
For instance, if you sell a product to the UK and USA market, you can display prices in dollars to your US visitors and in pounds sterling to your UK customers. Quite neat, right?
Well with PHP this is quite simple. All you need to do is download the IP2Countries data, either as a flat file or as a database.
Hook it up to your site, and away you go. Search on google for geo-target PHP and you'll find many sites giving you this functionality for free. There are also many similar classes that you can adopt on the various PHP script repositories.
Questions about learn PHP: