title: Find MIME type of Log files
body: <p>I want to check real MIME of a file which is to be upload.</p>
  
  <p>How can I get HEX value and real MIME type of a uploaded file before uploading it so that no one can upload other than log files using javascript?</p>