title: Check if a file is archive (zip or rar) using php
body: <p>How can i check if a file is archived (zip or rar) without knowing the extension. I need to find it using php.</p>
  
  <p>I cannot use Fileinfo because its not installed and installation of any other packages on the server its out of the question.</p>
  
  <p>UPDATE:</p>
  
  <p>Zip module its not installed and i cannot install extra packages.
  I don't want to use mime_content_type because its deprecated</p>
  
  <p>Thank you</p>