Handling file uploading from www forms with CGI.pm

Tutorials Shared by the Internet Community


Handling file uploading from www forms with CGI.pm

This tutorial shows how to handle file uploads from web forms in your CGI programs using Perl and CGI.pm.


  • Total Hits - 30451

  • Total Votes - 98 votes

  • Vote Up - 42 votes

  • Vote Down - 56 votes

  • Domain - www.perlfect.com

  • Category - Perl & CGI/File Handling

  • Submitted By - Devesh Khanna

  • Submitted on - 2008-03-16 00:28:35


Netscape Navigator 2.0 introduced a new facility for forms, the file upload element. This element allows the user to select a local file to be submitted with the form to the server that handles the form. File uploading is a frequently needed facility in many occasions, but the technique involved in handling forms that upload files is rarely discussed in CGI programming texts, and online tutorials/references on this topic are few. The technique is very simple as we shall see.    More detail...

Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down