There is a form at the front-end like this to allow user insert a video list record.
<form action ="" method="post" enctype="multipart">
<input type="file" name="files[]">upload1
<input type="file" name="files[]">upload2
<input type="file" name="files[]">upload3
<input type="file" name="files[]">upload4
<input name="list_name" />
</form>
each record has at least 2 video files , and 4 files at max.
The problem is , From the offical tutorial,
https://github.com/aws/aws-sdk-php
The file is temporary store at my server before upload to s3 , I wonder how to upload directly to s3 in PHP ( or code-igniter )? Also post the 'list_name" to my server before start upload to s3 ?
Thanks a lot for helping.