$query->param not working..
Posted on 2002-03-12
I'm use a form for uploading a file:
<FORM ACTION="$script_url" ENCTYPE="multipart/form-data" METHOD="POST">
<INPUT TYPE="file" NAME="file1">
And the perlscript:
But I can't get the value from the file-field "file1" in $file1 ?
When I use the method "GET" in my form I can read the value with $query->param('file1') but then I can't upload because I need the "POST"-method for uploading...
Can someone tell me what's wrong?