How to upload .mp3 file in php only after validation,my .wav file gets uploaded easily
<pre><code>if ((($_FILES["myfile"]["type"] == "audio/mp3")||($_FILES["myfile"]["type"] == "audio/wav"))&amp;&amp; ($_FILES["myfile"]["size"] &lt; 20000000)) 
    {
        if(move_uploaded_file($_FILES['myfile']['tmp_name'], $target_path) )
        {
            $result1=1;
        }
    }
</code></pre>
