2 require_once __DIR__ .
'/../src/HPCloud/Bootstrap.php';
4 use \HPCloud\Bootstrap;
5 use \HPCloud\Services\IdentityServices;
6 use \HPCloud\Storage\ObjectStorage;
7 use \HPCloud\Storage\ObjectStorage\Object;
9 Bootstrap::useAutoloader();
12 $ini = parse_ini_file(getenv(
'HOME') .
'/.hpcloud.ini');
25 $store->createContainer(
'Example');
36 printf(
"Name: %s \n",
$object->name());
37 printf(
"Size: %d \n",
$object->contentLength());
38 printf(
"Type: %s \n",
$object->contentType());