master_son has asked for the wisdom of the Perl Monks concerning the following question:
Thank you in advance for your help.use CGI qw(:standard); print "Content-type: text/html\n\n"; &main; sub main() { my $query = new CGI; my $indexTemp = HTML::Template->new(filename => 'index.tmpl'); my $fileName = $query->param('filepath'); my $type = $query->uploadInfo($fileName)->{'Content-Type'}; print $query->param('eventname')."<br />\n"; print $query->param('date')."<br />\n"; print $query->param('starttime')."<br />\n"; print $query->param('endtime')."<br />\n"; print $query->param('location')."<br />\n"; print $fileName."<br />\n"; print $type."<br />\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Uploading a CSV file using the input file html form object
by lima1 (Curate) on Jan 25, 2006 at 22:27 UTC | |
by master_son (Acolyte) on Jan 26, 2006 at 19:26 UTC |