title: Send file from HTML form to AWS S3 Bucket
body: <p>I'm taking the file from a html form and then uploading it to an AWS S3 bucket.</p>
  <p>The following code finds the path of the file <strong>on my computer</strong> and then uploads it to S3:</p>
  <pre class="lang-php prettyprint-override"><code>$bucketname = 'we-sign-files';
  $file_path = '/Users/dripz/Desktop/wesign/uploads/5f31fc30410c17.68431957.jpg';
  $key = basename($file_path);
  
  try {
      $s3-&gt;putObject([
          'Bucket' =&gt; $bucketname,
          'Key'    =&gt; $key,
          'Body'   =&gt; fopen($file_path, 'r')
      ]);
  } catch (Aws\S3\Exception\S3Exception $e) {
      echo $e-&gt;getMessage();
  }
  </code></pre>
  <p>What code should I put in the <code>$file_path = </code> variable to take the image from the <strong>users' computer</strong> and then upload to S3?</p>