title: Rename file name before uploading to PHP server
body: <p>I wonder if it is possible to change file name and attributes of </p>
  
  <pre><code> &lt;input type="file" id="image"&gt;
  </code></pre>
  
  <p>with Javascript or Jquery before uploading using PHP? </p>
  
  <p>I have found that it is possible to rename it on back-end with PHP but I want to have name changed to say Date().getTime() before uploading. On server I would simply move file to location.</p>