Sub buckets is very tricky task to create on Amazon S3 service…

<?php

include(“S3.php”); // class for REST based S3 manager

$s3 = new S3(‘accessKey’, ‘secretKey’);
$s3->putBucket(‘bucketname’, S3::ACL_PUBLIC_READ);

/* function to upload phpsolutions.txt file to subfolders p/h/p/s/o/l/u/t/i/o/n/s on S3 bucketname */
$s3->putObjectFile(‘phpsolutions.txt’, ‘bucketname’, ‘p/h/p/s/o/l/u/t/i/o/n/s/phpsolutions.txt’, S3::ACL_PUBLIC_READ);

/* function to delete phpsolutions.txt file to subfolders p/h/p/s/o/l/u/t/i/o/n/s on S3 bucketname */
//$s3->deleteObject(‘bucketname’, ‘p/h/p/s/o/l/u/t/i/o/n/s/phpsolutions.txt’);

?>

Public URL for this file:
http://bucketname.s3.amazonaws.com/p/h/p/s/o/l/u/t/i/o/n/s/phpsolutions.txt

Source: http://undesigned.org.za/2007/10/22/amazon-s3-php-class

38 Responses to create sub buckets on amazon s3

  1. Anonymous says:

    Great post, I admire the writing style :) A little off topic here but what theme are you using? Looks pretty cool.

  2. Anonymous says:

    Wow, that’s a really nice read!

  3. Joaquina Melusky says:

    What in the world would most of us do devoid of the brilliant thoughts you discuss on this blog? Who comes with the fortitude to deal with important topics just for common readers like me? I actually and my pals are very delighted to have your website among the kinds we frequently visit. Hopefully you know how significantly we enjoy your work! Best wishes from us all.

  4. Eldon Driskill says:

    I couldn’t have asked for a more rewarding blog. You are there to offer excellent information, going directly to the point for quick understanding of your readers. You’re truly a terrific pro in this matter. Thanks for always being there individuals like me.

  5. Barry Christian says:

    The writer lined several curious issues on this article. I found this by looking Msn and I’ve acquired to confess that I’m now subscribed to your weblog website, it is very good

  6. Anonymous says:

    I am extremely impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you customize it yourself? Anyway keep up the nice quality writing, it is rare to see a nice blog like this one today..

  7. zynga says:

    I’ve been browsing on-line more than 3 hours these days, but I by no means found any attention-grabbing article like yours. It is beautiful price sufficient for me. In my view, if all webmasters and bloggers made just right content as you did, the internet shall be a lot more useful than ever before

  8. Anonymous says:

    I used to be very pleased to locate this web site.I needed to appreciate a great read!! I definitely enjoying every little it and i also perhaps you have bookmarked to think about new items you post.

  9. Anonymous says:

    Hi I discovered this website by mistake while i was searching yahoo just for this issue, I have to say your site is really helpful Also i love the theme, its amazing!. I dont have much time for it to read your post currently but We’ve bookmarked it and also signed up for your RSS feeds. I’ll be the government financial aid a day or two. many thanks a fantastic site.

  10. Anonymous says:

    Kudos for posting a real useful weblog. Your blog isn’t only informative but very artistic too. There are frequently very few people that can write not so simple articles that creatively. Continue the excellent writing !!

  11. Anonymous says:

    I was very pleased to uncover this website.I wanted to appreciate this excellent read!! I definitely enjoying every bit of it and I maybe you’ve bookmarked to think about new stuff you post.

  12. Ebook says:

    This will be the appropriate blog for anyone who wants to find out about this topic. You realize so significantly its almost tough to argue with you (not that I actually would want…HaHa). You definitely place a brand new spin on the subject thats been composed about for years. Very good stuff, just terrific!

  13. kristen stewart says:

    Hi! Someone in my Facebook group shared this website with us so I came to look it over. I’m definitely enjoying the information. I’m bookmarking and will be tweeting this to my followers! Wonderful blog and great design and style.

  14. Anonymous says:

    Its like you read my mind! You appear to know a lot about this, like you wrote the book in it or something. I think that you can do with a few pics to drive the message home a bit, but other than that, this is wonderful blog. A fantastic read. I’ll certainly be back.

  15. Anonymous says:

    Unquestionably believe that which you said. Your favorite justification appeared to be on the internet the easiest thing to be aware of. I say to you, I definitely get irked while people think about worries that they plainly do not know about. You managed to hit the nail upon the top and defined out the whole thing without having side-effects , people can take a signal. Will likely be back to get more. Thanks

  16. Anonymous says:

    Very nice post. I just stumbled upon your weblog and wished to say that I’ve really enjoyed surfing around your blog posts. After all I’ll be subscribing to your rss feed and I hope you write again very soon!

  17. slimmingmethodsonline says:

    What a great web log. I spend hours on the net reading blogs, about tons of various subjects. I have to first of all give praise to whoever created your theme and second of all to you for writing what i can only describe as an fabulous article. I honestly believe there is a skill to writing articles that only very few posses and honestly you got it. The combining of demonstrative and upper-class content is by all odds super rare with the astronomic amount of blogs on the cyberspace.
    I have bookmarked, Dugg, and I joined the RSS subscription. Thanks! ….

  18. NeopleHocrere says:

    I agree with you, thanks for an explanation. As always all ingenious is simple.

  19. Erydayfer says:

    Bravo, what words…, a magnificent idea

  20. braillaghuh says:

    Thanks for the interesting stuff!

  21. Anonymous says:

    Мне кажется это блестящая фраза

  22. Anonymous says:

    Great article! I just added it to my favorites!

  23. Anonymous says:

    Your Website is awesome. Thank you so much for giving plenty of practical information. I will bookmark your ebsiteand will be without doubt coming back. Once again, I appreciate all your work and also providing a lot vital ideas to the audience.

  24. Anonymous says:

    Отлично это класно,бесподобно и все довольны
    :smile:

  25. Anonymous says:

    Thanks for information. Nice blog, thanks a lot!

  26. Alicia Usie says:

    Thanks for the post :)

  27. Anonymous says:

    Unquestionably believe that which you stated. Your favorite justification seemed to be on the net the easiest thing to be aware of. I say to you, I definitely get annoyed while people think about worries that they plainly don’t know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people could take a signal. Will probably be back to get more. Thanks

  28. Anonymous says:

    I love the dear info you suggest in your items. I will bookmark your website and have absolutely individual adolescents verify upward listed here in many cases.

  29. Anonymous says:

    Good morning, thx for the blog post

  30. Anonymous says:

    After research just a few of the blog posts in your website now, and I actually like your approach of blogging. I bookmarked it to my bookmark web site checklist and will likely be checking again soon.

  31. ovulation symptomes says:

    Just wanna state that this is very useful , Thanks for taking your time to write

  32. Cassey says:

    I appreciate your work, regards for all the informative posts.

  33. Opony says:

    My buddy recommended I would like this blog site. He was entirely right. This post definitely made my day. You can not imagine just how much time I’d invested for this info! With thanks!

  34. Ferdinand Brondyke says:

    Useful article, approval for demography the the fantastic the perfect time to specify it together. i love the administering you could be demography your blog. I’ll be bookmarking your online internet internet site consequently i can accrue up from the future. wants to discover added posts soon.

  35. Ferdinand Brondyke says:

    you obtained a rather outstanding website, Glad I observed it by way of yahoo.

  36. Clifford Fossen says:

    I just required some information and was searching on Google for it. I visited each page that came on first page and didn’t got any relevant result then I thought to check out the second one and got your blog. This is what I wanted!

  37. Nasal Lavage says:

    I am so glad this internet thing works and your article really helped me. Might take you up on that home advice you

  38. Regina Quebedeaux says:

    After study a number of of the weblog posts on your web site now, and I truly like your approach of blogging. I bookmarked it to my bookmark website list and can be checking again soon. Pls take a look at my site as effectively and let me know what you think.

Leave a Reply