Skip to content

Instantly share code, notes, and snippets.

View lauradean's full-sized avatar

Laura Dean lauradean

  • Moone Leaf, LLC
  • Houston, TX
View GitHub Profile
@tim-peterson
tim-peterson / UploadHandlerS3.php
Last active October 18, 2024 11:39
jQuery-File-Upload S3 PHP upload directly using AWS PHP SDK V2 (w/ optional Dropbox Chooser-selected files) https://github.com/blueimp/jQuery-File-Upload
<?php
use Aws\Common\Aws;
use Aws\S3\Exception\S3Exception;
// make sure the SDK is installed
// I've used Composer to autoload it: http://docs.aws.amazon.com/aws-sdk-php/guide/latest/installation.html
/*
* jQuery File Upload Plugin PHP Class 7.1.0
* https://github.com/blueimp/jQuery-File-Upload