Ugly, demo code, but that technique worked in my tests. See Re: CGI.pm file upload freaking me out for more information.my $filename = $query->param('filename'); my $fh = $query->param('file'); # clean $filename, especially in Taint mode open(OUTPUT, '>' . $path . $filename) or carp "Can't open $filename: $ +!"; select(OUTPUT); print while (<$fh>);
In reply to Re: strange CGI.pm behavior
by chromatic
in thread strange CGI.pm behavior
by flocto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |