Debt Consolidation - Prefessional Book Reviews - Debt Consolidation - Payday Loans - Personal Loans

PDA

View Full Version : Amazon Question - HELP


Cyclops
Aug 3rd 2005, 1:09 am
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.

fryman
Aug 3rd 2005, 1:15 am
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)

Nintendo
Aug 3rd 2005, 1:30 am
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.

http://www.amazon.com/exec/obidos/redirect-home/httpwwwfreehc-20.


Search for whitespace-20 and change it to httpwwwfreehc-20 .

Kalev
Aug 3rd 2005, 2:05 am
$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';



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 ;)

Cyclops
Aug 3rd 2005, 4:45 am
Thanks guys! can I ask how you all came up with that so I can look for it in the future?

Cyclops
Aug 3rd 2005, 5:16 am
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?

Kalev
Aug 3rd 2005, 5:38 am
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?

Learn some basic PHP and next time you can help us instead.

tomek
Nov 1st 2005, 6:48 am
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...)