title: PHP: Uploading 3gp video files
body: <p>I want to upload .3gp video files to server via PHP code. I checked the mime type of 3gp video files by 'echo' video type of file, it gives it as <code>application/octet-stream</code>.</p>
  
  <p>I have added a check below to restrict it to only few video format files, as below:</p>
  
  <pre><code>if($_video_type != 'video/x-ms-wmv' &amp;&amp; $_video_type != 'application/octet-stream' &amp;&amp; $_video_type != 'video/avi' &amp;&amp; $_video_type != 'video/mpeg'){
      $_error_videotitle = 'Only WMV, MP4, MPEG, FLV, 3GP videos are allowed';
      $is_errors = true;
  }
  </code></pre>
  
  <p>But its not uploading 3gp file, it still giving error :(</p>
  
  <p>Please help, thanks!</p>