I have recently purchase a website selling Amazon products. I was under teh impressiont hat all i woudl need to do is change the previous owners Affiliate ID link to my own. However when I do this it comes up with an internal server error. The site is: http://www.betterlandscaping.com/ The section that I am changing wth my code is below: (this is teh original code without my Affilate ID) $xmlFeed = 'http://xml.amazon.com/onca/xml3?t=' .$AssociatesID; $xmlFeed .= '&dev-t=' .$DevToken; $xmlFeed .= '&' .$SearchType; $xmlFeed .= '=' .$SearchString; $xmlFeed .= '&mode=' .$Mode; $xmlFeed .= '&sort=' .$Sort; $xmlFeed .= '&offer=All&type=' .$Type; $xmlFeed .= '&page=' .$Page. '&f=xml'; My ID is http://www.amazon.com/exec/obidos/redirect-home/httpwwwfreehc-20. Can any programmers out there help me please? This is so frustrating. It seems such a simple task.
From what I can see, the current id is whitespace-20, you need to change that one with yours. YOurs should look something like that one (whitespace-20)
It should not be very hard. Probably there is a line in the code: $AssociatesID="whitespace-20"; change whitespace-20 to your aff id and
Thank you for your help. That did the trick!!!!! Can you all let me know how you figured that one out so I know what to look for next time?
have a look at this tutorial: http://www.websitepublisher.net/article/aws-php/ (it's not up-to-date but will teach you the basics...)