title: How to validate uploaded file is vidoe file php?
body: <p>How can i check uploaded file is video format or any other format.
  user can upload any type of video file.</p>
  
  <pre>echo mime_content_type($_FILES['Filedata']['tmp_name']);</pre>