Mercurial > hg > ywww
comparison php/read/similar.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 |
|---|---|
| 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 } |
