homepage Welcome to WebmasterWorld Guest from 54.205.122.62
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

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#: 4107256 posted 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

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4107256 posted 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

5+ Year Member



 
Msg#: 4107256 posted 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved