Uploading a File to Amazon Web Services (AWS) S3 Bucket with PHP

Php

Video is ready, Click Here to View ×


Code used in this video:
PHP Upload to S3 via Form (https://gist.github.com/keithweaver/70eb06d98b008113ce97f6148fbea83d)
PHP Upload to S3 via Link (https://gist.github.com/keithweaver/08c1ab13b0cc47d0b8528f4bc318b49a)

Setting up a S3 Bucket video: https://www.youtube.com/watch?v=v33Kl-Kx30o
Setting up a S3 Bucket screenshot instructions: https://github.com/keithweaver/python-aws-s3

Playlist for more S3 Videos:…

14 thoughts on “Uploading a File to Amazon Web Services (AWS) S3 Bucket with PHP

  1. Hi Keith, $file = $_FILES["fileToUpload"]['tmp_name']; in this line what is "tmp_name". If I am changing this to any name like "fname" then got problem i.e Notice: Undefined index: fname in C:xampphtdocsmyprojectupload_file.php

  2. Thanks , I have a question . Can I make dynamic folders and add images inside those folders and delete those folders dynamic with amazon AS3 ?
    Like this –
    FOLDER 1 –
    image1.jpg
    image2.jpg

    FOLDER 2 –
    image3.jpg
    image4.jpg

    Thanks

  3. getting this after uploading file
    ( ! ) Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in C:wamp64wwwaws-sdk-php-masteraws-sdk-php-masterupload.php on line 17

Leave a Reply

Your email address will not be published. Required fields are marked *