comparison php/read/getBookDetails.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 5aa24c984a3b
children c41a5802b26c
comparison
equal deleted inserted replaced
16:093e42d5a874 17:ae1459564f66
159 'ext' => 'com' , //USA normal server 159 'ext' => 'com' , //USA normal server
160 'nor' => 'http://www.amazon.com' , //USA normal server 160 'nor' => 'http://www.amazon.com' , //USA normal server
161 'xml' => 'http://xml.amazon.com' , //USA xml server 161 'xml' => 'http://xml.amazon.com' , //USA xml server
162 ), 162 ),
163 ); 163 );
164 164 $public_key ="AKIAIHTNWC7L6LOUY4LQ";
165 $public_key ="AKIAJBXEHTNCU6LLFNIA"; 165 $private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde";
166 $private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA";
167 166
168 //for all parameters see if the user has overruled it or use the default 167 //for all parameters see if the user has overruled it or use the default
169 foreach ($Adefault as $i=>$d) { 168 foreach ($Adefault as $i=>$d) {
170 $$i=isset($_GET[$i])?$_GET[$i]:$d; 169 $$i=isset($_GET[$i])?$_GET[$i]:$d;
171 } 170 }