Skip to content

Instantly share code, notes, and snippets.

@kejyun
Created August 2, 2012 08:10
Show Gist options
  • Save kejyun/3235153 to your computer and use it in GitHub Desktop.
Save kejyun/3235153 to your computer and use it in GitHub Desktop.
列出AWS容器檔案URL
<?php
/*
* 列出容器檔案URL
*/
$bucket = "kejyun-test"; //容器名稱
$s3_filepath = "/S3.txt";
$s3 = new AmazonS3();
$response = $s3->get_object_url($bucket);
print_r($response);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment