comparison php/read/getBookDetails.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 c41a5802b26c
comparison
equal deleted inserted replaced
40:77ff181476b8 41:0578c6e438d3
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 }