comparison xml/amazonBookSearch.php @ 41:0578c6e438d3

merge
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sun, 30 Jul 2017 05:36:48 -0400
parents ae1459564f66
children 46382face560
comparison
equal deleted inserted replaced
40:77ff181476b8 41:0578c6e438d3
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 }