cvs commit: perlfaq perlfaq9.pod

[email protected]
Newsgroups perl.cvs.perlfaq
Message-ID <[email protected]>
cvsuser     02/07/03 11:47:31

  Modified:    .        perlfaq9.pod
  Log:
  * How do I download a file from the user's machine?  How do I open a file on another machine?
  
  clarified the meaning of "download" and "upload" and mentioned that CGI.pm
  comes with Perl as part of the Standard Library
  
  Revision  Changes    Path
  1.10      +12 -5     perlfaq/perlfaq9.pod
  
  Index: perlfaq9.pod
  ===================================================================
  RCS file: /cvs/public/perlfaq/perlfaq9.pod,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -w -r1.9 -r1.10
  --- perlfaq9.pod	7 Apr 2002 18:46:13 -0000	1.9
  +++ perlfaq9.pod	3 Jul 2002 18:47:31 -0000	1.10
  @@ -1,6 +1,6 @@
   =head1 NAME
   
  -perlfaq9 - Networking ($Revision: 1.9 $, $Date: 2002/04/07 18:46:13 $)
  +perlfaq9 - Networking ($Revision: 1.10 $, $Date: 2002/07/03 18:47:31 $)
   
   =head1 DESCRIPTION
   
  @@ -173,10 +173,17 @@
   
   =head2 How do I download a file from the user's machine?  How do I open a file on another machine?
   
  -In the context of an HTML form, you can use what's known as
  -B<multipart/form-data> encoding.  The CGI.pm module (available from
  -CPAN) supports this in the start_multipart_form() method, which isn't
  -the same as the startform() method.
  +In this case, download means to use the file upload feature of HTML
  +forms.  You allow the web surfer to specify a file to send to your web
  +server.  To you it looks like a download, and to the user it looks
  +like an upload.  No matter what you call it, you do it with what's
  +known as B<multipart/form-data> encoding.  The CGI.pm module (which
  +comes with Perl as part of the Standard Library) supports this in the
  +start_multipart_form() method, which isn't the same as the startform()
  +method.
  +
  +See the section in the CGI.pm documentation on file uploads for code
  +examples and details.
   
   =head2 How do I make a pop-up menu in HTML?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.