homepage Welcome to WebmasterWorld Guest from 54.196.198.213
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
code to show geo-targetted ads
ginx




msg:4107258
 10:21 pm on Mar 30, 2010 (gmt 0)

Hi all.
can someone give me the code to show geo-targetted ads.
i.e. show US ads for US visitors, UK ads for UK visitors etc and so on.?
Thanks

 

mipapage




msg:4107619
 3:17 pm on Mar 31, 2010 (gmt 0)

Hey Ginx,

You want to look for an ip to country database and compare the users' IP with that database to see where they are coming from. I don't have the code on hand but that is the strategy.

Pico_Train




msg:4108754
 5:59 am on Apr 2, 2010 (gmt 0)

ip 2 nation ... check that. Works well and you'll probably have to modify the code a bit

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved