creating file type condition when uploading files in php
<p>I am using this condition, but it's not working as it is always false i.e no file types meet the condition, so i fighre there must be an error in syntax but I can't figure it out.</p>

<pre><code>if (!($_FILES["uploaded"]["type"] == "video/mp4")
&amp;&amp; (!$_FILES["uploaded"]["type"] == "video/flv")
&amp;&amp; (!$_FILES["uploaded"]["type"] == "video/webm" )
&amp;&amp; (!$_FILES["uploaded"]["type"] == "video/ogg" ))

{
   $message="not an accepted file format";
}    
</code></pre>
