I would remove the eval , like this
my $query = new CGI; my $file1 = $query->param('file1'); if ($query->param('FNC') eq "Hochladen") { if ($file1 ne "") { Upload("$DIR$FILE/_file1", $file1); } }
If would help to see the complete cgi script as I suspect some other improvements could be suggested.
pojIn reply to Re^4: CGI-Upload / Bad File Number
by poj
in thread CGI-Upload / Bad File Number
by frnk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |