in reply to Problem with file upload CGI script

Read the bit in the docs about start_multipart_form.

Also, you might need to "binmode" your filehandles - it's good practice to do it anyway to keep your code cross-platform.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re: Problem with file upload CGI script