Mercurial > hg > ywww
comparison xml/amazonBookSearch.php @ 17:ae1459564f66
Replace old associate keys with new IAMs user keys
author | Robert Boland <robert@markup.co.uk> |
---|---|
date | Mon, 24 Jul 2017 11:38:35 -0400 |
parents | 077b0a0a3e6d |
children | 46382face560 |
comparison
equal
deleted
inserted
replaced
16:093e42d5a874 | 17:ae1459564f66 |
---|---|
52 'xml' => 'http://xml.amazon.com' , //USA xml server | 52 'xml' => 'http://xml.amazon.com' , //USA xml server |
53 ), | 53 ), |
54 ); | 54 ); |
55 | 55 |
56 include "aws_signed_request.php"; | 56 include "aws_signed_request.php"; |
57 $public_key ="AKIAJBXEHTNCU6LLFNIA"; | 57 $public_key ="AKIAIHTNWC7L6LOUY4LQ"; |
58 $private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA"; | 58 $private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde"; |
59 | 59 |
60 //for all parameters see if the user has overruled it or use the default | 60 //for all parameters see if the user has overruled it or use the default |
61 foreach ($Adefault as $i=>$d) { | 61 foreach ($Adefault as $i=>$d) { |
62 $$i=isset($_GET[$i])?$_GET[$i]:$d; | 62 $$i=isset($_GET[$i])?$_GET[$i]:$d; |
63 } | 63 } |