[Perl] Uploading files

Fischer Michael s0905683 at techst02.technion.ac.il
Thu Aug 1 02:17:29 PDT 2002


I want that cgi-script on server will on demand upload text-file from user's computer.
This I am doing by :

use CGI;
my $q = CGI->new();
print $q->filefield(-name=>"uploaded_file");

After submit I am getting filehandle from $q->param("uploaded_file")...

The question is how I can use this handle to read this file more then once?
How I can read this file (from user's computer) in another cgi script?

Michael F.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://perl.org.il/pipermail/perl/attachments/20020801/929b59c2/attachment.htm 

More information about the Perl mailing list