Created
August 2, 2012 08:18
-
-
Save kejyun/3235316 to your computer and use it in GitHub Desktop.
取得AWS S3容器所有檔案容量(位元組)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* 取得容器所有檔案容量(位元組) | |
*/ | |
$bucket = "kejyun-test"; //容器名稱 | |
$s3 = new AmazonS3(); | |
$response = $s3->get_bucket_filesize($bucket); | |
print_r($response); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment