php javascript form validation for upload file <input>
<p>want to get a validation script to validate the file upload box onsubmit.</p>

<p>check the extension of the file and validate accordingly to the extension of file loaded</p>
