Mercurial > hg > ywww
comparison xml/getAmazonInfo.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 | c9ebf871114b |
| children | c41a5802b26c 0578c6e438d3 |
comparison
equal
deleted
inserted
replaced
| 16:093e42d5a874 | 17:ae1459564f66 |
|---|---|
| 62 ), | 62 ), |
| 63 ); | 63 ); |
| 64 | 64 |
| 65 //if(go != 1) | 65 //if(go != 1) |
| 66 //include "aws_signed_request.php"; | 66 //include "aws_signed_request.php"; |
| 67 | 67 $public_key ="AKIAIHTNWC7L6LOUY4LQ"; |
| 68 $public_key ="AKIAJBXEHTNCU6LLFNIA"; | 68 $private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde"; |
| 69 $private_key="Dgyv7aR6uGe3OtY95Dj6hHpDS/UEtyboMWpJchYA"; | |
| 70 | |
| 71 //for all parameters see if the user has overruled it or use the default | 69 //for all parameters see if the user has overruled it or use the default |
| 72 foreach ($Adefault as $i=>$d) { | 70 foreach ($Adefault as $i=>$d) { |
| 73 $$i=isset($_GET[$i])?$_GET[$i]:$d; | 71 $$i=isset($_GET[$i])?$_GET[$i]:$d; |
| 74 } | 72 } |
| 75 //this is the data that is used to form the request for AWS | 73 //this is the data that is used to form the request for AWS |
| 425 [0] => SimpleXMLElement Object | 423 [0] => SimpleXMLElement Object |
| 426 ( | 424 ( |
| 427 [@attributes] => Array | 425 [@attributes] => Array |
| 428 ( | 426 ( |
| 429 [Name] => AWSAccessKeyId | 427 [Name] => AWSAccessKeyId |
| 430 [Value] => AKIAJBXEHTNCU6LLFNIA | 428 [Value] => AKIAIHTNWC7L6LOUY4LQ |
| 431 ) | 429 ) |
| 432 | 430 |
| 433 ) | 431 ) |
| 434 | 432 |
| 435 [1] => SimpleXMLElement Object | 433 [1] => SimpleXMLElement Object |
