Tiffany B. Brown

Quick tips for working with Amazon S3 and PHP

  1. Try Donovan Schonknecht’s Amazon S3 PHP Class because it supports large uploads and doesn’t require PEAR.
  2. Set your Content-Disposition request header to ‘inline’ if you want files to display in your browser rather than forcing a download
  3. Use S3::inputFile() when copying data from a source file — when uploading, for example. You don’t need to use it when creating files on the fly.

Comments are closed.