12 November 2010

Upload form allows users to upload files through their browsers.

HTML Upload Form:

You have to use right encoding type for file upload forms so that server side program would function properly. Action shows location of submit. Inputs declare inputs(textbox, file, etc).
Source code viewer
  1. <form enctype="multipart/form-data" action="upload.php" method="POST">
  2. Choose a file to upload: <input name="file" type="file" /><br />
  3. <input type="submit" value="Upload" />
  4. </form>
Programming Language: HTML
More about inputs: HTML input Tag.