Perl, CGI experts pls help!

来源: 2005-04-15 13:28:41 [旧帖] [给我悄悄话] 本文已被阅读:

A user uploads a file and click a button to go to the next page, and then click a button to come back to the file upload page. is there a way to keep the file name in the upload box?

I used filefield() in CGI,
print $query->filefield(-name=>'uploaded_file',
-default=>'starting value',
-size=>50,
-maxlength=>80);

the 'starting value' does not appear.
Any help is appreciated!