Galen has asked for the wisdom of the Perl Monks concerning the following question:
I haven't tried it, but since the variable $file contains the full path to the file, I imagine I could upload and process more than just the file selected by the user. This is not pretty, however. Is there a better way to do this?$query = new CGI; if ($file = $query->param('filename')) {&parsefile} print $query->start_multipart_form; print $query->filefield('filename','',25), " "; print $query->reset('Clear','reset'),$query->submit('submit','OK'); print $query->endform;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: browse to directory
by rob_au (Abbot) on May 17, 2002 at 10:39 UTC | |
by Galen (Beadle) on May 17, 2002 at 14:23 UTC |