Mercurial > hg > ywww
comparison php/read/similar.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 |
|---|---|
| 73 'nor' => 'http://www.amazon.com' , //USA normal server | 73 'nor' => 'http://www.amazon.com' , //USA normal server |
| 74 'xml' => 'http://xml.amazon.com' , //USA xml server | 74 'xml' => 'http://xml.amazon.com' , //USA xml server |
| 75 ), | 75 ), |
| 76 ); | 76 ); |
| 77 | 77 |
| 78 include "aws_signed_request.php"; | 78 include "aws_signed_request.php"; |
| 79 $public_key ="AKIAJBXEHTNCU6LLFNIA"; | 79 $public_key ="AKIAIHTNWC7L6LOUY4LQ"; |
| 80 $private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA"; | 80 $private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde"; |
| 81 | |
| 81 | 82 |
| 82 //for all parameters see if the user has overruled it or use the default | 83 //for all parameters see if the user has overruled it or use the default |
| 83 foreach ($Adefault as $i=>$d) { | 84 foreach ($Adefault as $i=>$d) { |
| 84 $$i=isset($_GET[$i])?$_GET[$i]:$d; | 85 $$i=isset($_GET[$i])?$_GET[$i]:$d; |
| 85 } | 86 } |
