in reply to Re^2: CGI-Upload / Bad File Number
in thread CGI-Upload / Bad File Number
This is how i read the CGI-data:
$query = new CGI; @names = $query->param; foreach (@names) { $val = $query->param($_); eval("\$$_ += '$val';"); }
There is one value called '$file1' containing the source-file.
The upload-function is called this way:
...where '$file1' is named '$src' in the function and "$DIR$FILE/_file1" is the destination filename without extension, which is taken from the source filename.if ($FNC eq "Hochladen") { if ($file1 ne "") { Upload("$DIR$FIL +E/_file1", $file1); } }
There is no other apperence of '$file1' or '$src' in my code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: CGI-Upload / Bad File Number
by poj (Abbot) on Jul 16, 2016 at 19:53 UTC | |
by frnk (Novice) on Jul 17, 2016 at 05:40 UTC | |
|
Re^4: CGI-Upload / Bad File Number
by Anonymous Monk on Jul 17, 2016 at 01:55 UTC | |
by frnk (Novice) on Jul 17, 2016 at 05:59 UTC | |
by Anonymous Monk on Jul 17, 2016 at 08:26 UTC | |
by frnk (Novice) on Jul 17, 2016 at 12:29 UTC | |
by Anonymous Monk on Jul 17, 2016 at 21:11 UTC | |
|