- or download this
<form action="upload_process.pl" method="post" enctype="multipart/form
+-data">
<input type="file" name="myfile" accept="text/*" maxlength="2097152">
<!-- hier beliebige andere Felder -->
<input type="submit" value="RESSOURCE" name="action"><input type="rese
+t">
</form>
- or download this
...
my $q = new CGI;
...
binmode $file;
&insertRessource( $name, $entryid, $file, $mime );
#all parameters are available
- or download this
sub insertRessource
{
...
$sth->finish;
$dbh->disconnect;
}