title: Image upload doesnt work in IE? But it's fine in other browsers
body: <p>So I'm facing this issue, one I've never had before in over 4 years of development,</p>
  
  <p>HTML code</p>
  
  <pre><code>&lt;fieldset id="step_3" style="display:none;"&gt;
    &lt;legend&gt;3. Add Photos&lt;/legend&gt;
    &lt;ol&gt;
      &lt;li&gt;
        &lt;label for="main_image"&gt;Main Image..&lt;/label&gt;
        &lt;input type="file" name="extra_img0" size="35"/&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;label for="extra_img1"&gt;Extra Images&lt;/label&gt;
        &lt;input type="file" name="extra_img1" size="35"/&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;label for="extra_img2"&gt; &lt;/label&gt;
        &lt;input type="file" name="extra_img2" size="35" /&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;label for="extra_img3"&gt; &lt;/label&gt;
        &lt;input type="file" name="extra_img3" size="35"/&gt;
      &lt;/li&gt;
      &lt;li&gt;
      &lt;input type="submit" name="add" value="Add Listing"/&gt;
      &lt;/li&gt;
    &lt;/ol&gt;
  &lt;/fieldset&gt;
  </code></pre>
  
  <p>And the PHP code...</p>
  
  <pre><code>$i = 0;
      while($i &lt; 4) {
          if(!empty($_FILES['extra_img'.$i]['name'])) {
              if($_FILES['extra_img'.$i]['type'] == "image/gif" OR $_FILES['extra_img'.$i]['type'] == "image/png" OR $_FILES['extra_img'.$i]['type'] == "image/jpeg") {
                  $img = md5(microtime()).'.jpg';
                  $image = New SimpleImage();
                  $image-&gt;load($_FILES['extra_img'.$i][tmp_name]);
                  if($image-&gt;getWidth() &lt; $image-&gt;getHeight()) {
                      $image-&gt;resizeToWidth("300");
                      $image-&gt;cutHeight("300");
                  } else {
                      $image-&gt;resizeToHeight("300");
                      $image-&gt;cutWidth("300");
                  }
                  $image-&gt;save('uploads/listings/large/'.$img);
                  $db-&gt;query("INSERT INTO `images_to_listing` (`listing_id` ,`name`) VALUES ('{$listing_id}', '{$img}');");
              }
          }
      $i++;
      }
  </code></pre>
  
  <p>Code works just fine in all browsers apart from IE? It doesn't even get inserted into MYSQl, any ideas? </p>