Validating HTML form details before submitting it – using ph

I had an upload form on my website, where users entered details about their upload file, selected the file and uploaded to the webserver.The POST action of the form was to submit the file to a php page...