How to block every file type except .exe from uploading
<p>This is all I have.</p>

<pre><code>&lt;?php
if ((($_FILES["file"]["type"] == "file/exe")
&amp;&amp; ($_FILES["file"]["size"] &lt; 20000000))
{
</code></pre>

<p>I need to only upload .exe file types, how can I do this? reg ex?(PHP)</p>
