title: Add parameter to PHP
body: <p>When I sent an image to the code below, uploadImage.php, through a POST method, how do I add a String parameter?</p>
  
  <pre><code>&lt;?php
  $hasError = false;
  foreach( $_FILES as $i=&gt;$file )
  {
      if ( $file['error'] )
      {
          $hasError = true;
      }
  }
  if ( ! $hasError )
  {
      $myFilePath = '_uploads/'.'_'.$file["name"];
      $dta = file_get_contents($file['tmp_name']);
      file_put_contents($myFilePath, $dta);
  }
  else
  {
      echo('Stick custom error message here');
  }
  ?&gt;
  </code></pre>