title: How to allow other file types in uploader
body: <p>This is the code I have first of all </p>
  
  <pre><code>$allowedExts = array("gif", "jpeg", "jpg", "PNG", "png");
  $extension = end(explode(".", $_FILES["file"]["name"]));
  if ((($_FILES["file"]["type"] == "image/gif") // .gif
  || ($_FILES["file"]["type"] == "image/jpeg") // .jpeg
  || ($_FILES["file"]["type"] == "image/jpg") // .jpg
  || ($_FILES["file"]["type"] == "image/jpg") // .jpg
  || ($_FILES["file"]["type"] == "image/PNG") // .PNG
  || ($_FILES["file"]["type"] == "image/png")) //.png
  &amp;&amp; ($_FILES["file"]["size"] &lt; 2000000)
  &amp;&amp; in_array($extension, $allowedExts)
  </code></pre>
  
  <p>What I want is so I am able to Upload .RAR/.ZIP files as well.</p>