Alternatively, I think your form is missing "multipart/form-data" hence the
error  "cgi-lib.pl: reached end of input while seeking boundary of
multipart. Format of CGI input is wrong." 

Basically your form does not have the correct boundaries which is essential
for a file upload to work, whether you using asp, php or cgi, therefore add
this:-

print $query->start_form(-method=>"POST",
                         -action=>"upload.pl",
                         -enctype=>"multipart/form-data");


-----Original Message-----
From: Vadiraj C S [mailto:[EMAIL PROTECTED] 
Sent: 19 March 2004 12:19 PM
To: [EMAIL PROTECTED]
Subject: File upload



 Hello List,

   I'm trying to upload a file from a browser to the server thru cgli_lib I
get this message while doing
it.

 " cgi-lib.pl: reached end of input while seeking boundary of multipart.
Format of CGI input is wrong."

 " invalid method in request. "


 The method is POST which is essential for the fileupload to work. Every
thing is checked but this error is
sticking on screen. I've tried posted it in most of the mailing list, there
has been no response. 

 This list is my last hope, I would expect some hope atleast from the
moderator of this list..

Thanks in advance...

----

 Regards
 Vadiraj C S



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to