Re: get no info by $cgi->uploadInfo()

[email protected] (Gunnar Hjalmarsson) Fri, 06 Feb 2009 11:39:37 +0100
Newsgroups perl.beginners.cgi
Message-ID <[email protected]>
Robert Roggenbuck wrote:
> I just want do upload a file whithin my CGI-script.
> But when I try to check the MIME-Type of the uploaded file, the script 
> breaks.
> Here are the relevant code lines:

<snip>

> Whats going on there? What did I wrong?

I didn't study your code in detail, but it sounds like a module I wrote, 
CGI::UploadEasy, could be useful to you.

http://search.cpan.org/dist/CGI-UploadEasy/

-- 
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl