Not sure this is the right forum to post this, but I can't think where else. (Perhaps the Apache forum?)
I want to add Amazon ads to one of my sites.
Now Amazon is not International like Adsense. You have to sign up as an affiliate in the UK separately from the US affiliates program.
My site is not country specific. From memory, about 60% of traffic is North American based about 20% UK based and the rest comes from elsewhere (Europe and Australia mainly).
So, what I want to do is only show Amazon US coded adverts to North American visitors and then UK Amazon ads to UK (and the rest of world) visitors.
I know it's easy enough to get country IP addresses, but I'm not sure of the best way to implement this.
I'm guessing some kind of SSI to put the ads on the site, but how do I make it so that the right ads are called for the right visitors?
Oh, and I am a complete PHP n00b, so please be gentle. Thanks.