cal has asked for the wisdom of the Perl Monks concerning the following question:
######################################### for(my $a = 1; $a <= 5; $a++) { my $req = new CGI; if($req->param("FILE$a")) { my $file = $req->param("FILE$a"); my $filename = $file; } } ########################################## my %path_hash = ( FILE1 => C:\My Documents\Online_Bulletin\pg2.html, FILE2 => C:\My Documents\Online_Bulletin\pg3.html, FILE3 => C:\My Documents\Online_Bulletin\_bk.gif, FILE4 => C:\My Documents\Online_Bulletin\img0.gif, FILE5 => C:\My Documents\Online_Bulletin\img1.gif, );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Uploading Multiple Files
by swiftone (Curate) on Sep 27, 2002 at 20:30 UTC | |
|
Re: Uploading Multiple Files
by sauoq (Abbot) on Sep 27, 2002 at 20:35 UTC | |
by cal (Beadle) on Sep 27, 2002 at 20:45 UTC | |
by fsn (Friar) on Sep 27, 2002 at 21:10 UTC | |
by sauoq (Abbot) on Sep 27, 2002 at 21:24 UTC | |
|
Re: Uploading Multiple Files
by zentara (Cardinal) on Sep 28, 2002 at 17:22 UTC |