Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

(ichi) Re: Uploading a File with CGI.pm

by ichimunki (Priest)
on Apr 11, 2002 at 19:23 UTC ( #158400=note: print w/ replies, xml ) Need Help??


in reply to Uploading a File with CGI.pm

According to the CGI perldoc you need to make sure to start your form code with start_multipart_form... are you doing that? Also it should be my $filehandle = param('file') or die "$!"; according to the same POD.


Comment on (ichi) Re: Uploading a File with CGI.pm
Select or Download Code
Replies are listed 'Best First'.
Re: (ichi) Re: Uploading a File with CGI.pm
by dru145 (Friar) on Apr 11, 2002 at 19:49 UTC

    According to the CGI perldoc you need to make sure to start your form code with start_multipart_form...

    I must have missed that. I had start_form I changed it to start_multipart_form and now it works!

    Thanks,
    Dru
    Another satisfied monk.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://158400]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2015-07-28 06:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls