title: How to create folder under Amazon S3 bucket through PHP SDK?
body: <p>I am developing an iPhone app to allow user upload photo and share. I want to use S3 to store uploaded images as well as processed images (foe example, thumbnail, reduced size image). I've installed AWS PHP SDK on my EC2 instance, my questions are:
  1) Should photos uploaded from iPhone app go to a EC2 directory first, then copied over to S3 bucket, or it should directly uploaded to S3?
  2) How can I create different folders under the S3 bucket through PHP SDK and how to read the files from the folder?</p>
  
  <p>Thanks in advance!</p>