title: How to do File upload validation Server side without refreshing the Page?
body: <p>I have created a script to Upload a file using PHP. I have also added file validation checking for File size &amp; File type. But the scenario here is, the Form contain 10-12 Text boxes &amp; a File upload box. So whenever someone fill the complete form &amp; submit and they get File upload validation error, they get back to the Form with the validation error message. But the form gets empty as obviously it get posted on server side.
  Is there any way to do the file upload validation without reloading/refreshing the page ?</p>