Skip to content

Instantly share code, notes, and snippets.

@kejyun
Created August 2, 2012 07:56
Show Gist options
  • Save kejyun/3235062 to your computer and use it in GitHub Desktop.
Save kejyun/3235062 to your computer and use it in GitHub Desktop.
建立AWS S3容器
<?php
/*
* 建立容器
*/
//容器名稱
$bucket = "kejyun-test";
$s3 = new AmazonS3();
$response = $s3->create_bucket($bucket , $s3::REGION_SINGAPORE);
print_r($response);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment