Web-centric Computing

Example Code

Forms: File Upload

 <form method="post"  
       enctype="multipart/form-data"
       accept="text/plain"
       action="http://users.cs.dal.ca/~jamie/cgi-bin/4173/form/upload.cgi">
  <p>
   <input type="file"   name="upload" size="60" />
   <br />
   <input type="submit" name="submit" value="upload file" />
  </p>
 </form>


Note that


http://www.cs.dal.ca/~jamie/cgi-bin/4173/form/upload.cgi
Version:
30 October 2001
Author:
J. Blustein <jamie@cs.dal.ca>

Valid XHTML 1.0!

[Jump to top | View source code]