http://qs321.pair.com?node_id=523326


in reply to Re: Re: CGI File Upload
in thread CGI File Upload

Sorry BrowserUK! Only just saw this post. I don't think that is the problem

while <$upload_filehandle>
is supposed to read the input. It is initialised with
my $upload_filehandle = $query->upload("myfilename");
On the otherhand,
UPLOADFILE
is supposed to be the output of the script: a copy of the uploaded file on the hard disk. I agree that the naming of my filehandles could have been much better