title: multiple image upload is not working in iphone and ipad
body: <p>I am trying to use upload images it works perfect in browser but it doesn't work in iphone and ipad .below are code and screenshots for iphone </p>
  
  <pre><code>test.php
  ---------
  &lt;?php 
      if(isset($_POST['submit']))
      {
          //echo "&lt;pre&gt;";
          //print_r($_FILES);
          //exit;
          copy($_FILES["image1"]["tmp_name"],"upload/".$_FILES["image1"]["name"]);
          copy($_FILES["image2"]["tmp_name"],"upload/".$_FILES["image2"]["name"]);
          copy($_FILES["image3"]["tmp_name"],"upload/".$_FILES["image3"]["name"]);
          echo "Stored in: " . "upload/" . $_FILES["image1"]["name"];
          echo "&lt;br&gt;";
          echo "Stored in: " . "upload/" . $_FILES["image2"]["name"];
          echo "&lt;br&gt;";
          echo "Stored in: " . "upload/" . $_FILES["image3"]["name"];
      }
  ?&gt;
  &lt;!doctype html&gt;
  &lt;html lang="en"&gt;
     &lt;head&gt;
        &lt;meta charset="utf-8"&gt;
        &lt;title&gt;demo&lt;/title&gt;
     &lt;/head&gt;
     &lt;body&gt;
        &lt;form method="post" enctype="multipart/form-data"&gt; 
           image 1 : &lt;input type="file" name="image1" &gt;&lt;br/&gt;
           image 2 : &lt;input type="file" name="image2" &gt;&lt;br/&gt;
           image 3 : &lt;input type="file" name="image3" &gt;&lt;br/&gt;
           &lt;input type="submit" name="submit" value="Submit"&gt;
        &lt;/form&gt;
     &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <h2>iphone screenshot</h2>
  
  <p>As we can see from this below array this is displayed in iphone/ipad the image names are same for all and when i try to check for upload folder it displayed only the last image i.e third image .  </p>
  
  <pre><code>[image1] =&gt; Array
      (
          [name] =&gt; image.jpg
          [type] =&gt; image/jpeg
          [tmp_name] =&gt; /tmp/phpewhdwx
          [error] =&gt; 0
          [size] =&gt; 44009
      )
  
  [image2] =&gt; Array
      (
          [name] =&gt; image.jpg
          [type] =&gt; image/jpeg
          [tmp_name] =&gt; /tmp/phpwYDYBM
          [error] =&gt; 0
          [size] =&gt; 27762
      )
  
  [image3] =&gt; Array
      (
          [name] =&gt; image.jpg
          [type] =&gt; image/jpeg
          [tmp_name] =&gt; /tmp/php0vqnB2
          [error] =&gt; 0
          [size] =&gt; 32961
      )
  </code></pre>