title: Compress files (client side) and upload
body: <p>What HTML5/Javascript method I can use to upload and compress files on the client side?</p>
  
  <p>The code to select multiple files:</p>
  
  <blockquote>
    <p>Note: If you upload files occupying this method, the server is slow to
    compress files, to prevent overloading is preferable to compress from
    the client side</p>
  </blockquote>
  
  <pre><code> &lt;form method="post" enctype="multipart/form-data"&gt; 
      &lt;input type="file" name="fileselect[]" multiple="multiple"&gt;
      &lt;input type="submit"&gt;
   &lt;/form&gt;
  </code></pre>
  
  <p>The code as I'd like it to be:</p>
  
  <pre><code>&lt;script&gt;
   ...
  &lt;/script&gt; 
  ...
  &lt;form method="post" enctype="multipart/form-data"&gt; 
      &lt;input style="display:none" type="file" name="singlezipfile"&gt;
      &lt;input type="submit"&gt;
   &lt;/form&gt;
  </code></pre>
  
  <p>thanks in advance</p>