Skip to content

Instantly share code, notes, and snippets.

View tijanidevit's full-sized avatar
💭
Codeblooded

Mustapha TIJANI tijanidevit

💭
Codeblooded
View GitHub Profile
@tijanidevit
tijanidevit / s3-upload-via-link.php
Created April 21, 2022 13:48 — forked from keithweaver/s3-upload-via-link.php
Upload image using link to AWS S3 with PHP
@tijanidevit
tijanidevit / s3-upload-via-form.php
Created April 21, 2022 13:47 — 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