title: PHP : binary image data, checking the image type
body: <p>I have some images in bin, I want to check the header to check the format (jpg, png, etc)</p>
  
  <p>I don't want to use temp files! I have a solution using TEMP FILES.</p>