Sorry for the latte reply.
Absolutely:
[snip]
**use Apache::Request;
**my $q=Apache::Request-instance($r);
my $upload_id = 0;
**for my $upload ($q-upload) {
$upload_id++;
**my $name=$upload-name;
# do stuff
}
[snip]
All the best,
Issac
I need to get the form field name from a form upload.
I've been using the upload object and looping through
my uploads:
foreach my $upload ($r-upload) {
# do stuff
}
The first form has 10 fields (labeled
upload1-upload10). For a quick hack I simply used a
counter and all was good:
my