Skip to content

Instantly share code, notes, and snippets.

View theejhay's full-sized avatar
💭
I may be slow to respond.

Ogunyemi Taiwo John theejhay

💭
I may be slow to respond.
View GitHub Profile
@theejhay
theejhay / s3-upload-via-form.php
Created March 11, 2019 23:55 — forked from keithweaver/s3-upload-via-form.php
Upload image using form submission to AWS S3 with PHP
<?php
// This file demonstrates file upload to an S3 bucket. This is for using file upload via a
// file compared to just having the link. If you are doing it via link, refer to this:
// https://gist.github.com/keithweaver/08c1ab13b0cc47d0b8528f4bc318b49a
//
// You must setup your bucket to have the proper permissions. To learn how to do this
// refer to:
// https://github.com/keithweaver/python-aws-s3
// https://www.youtube.com/watch?v=v33Kl-Kx30o