Re: perl cgi uploaded file is empty

2004-07-17 Thread Gunnar Hjalmarsson
Xiangli Zhang wrote: I use perl cgi to upload file(any type: text or image) from web browser. The file was created, but is empty. See http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4 -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail: [EMAIL P

perl cgi uploaded file is empty

2004-07-17 Thread Xiangli Zhang
I use perl cgi to upload file(any type: text or image) from web browser. The file was created, but is empty. The following is my html form file and perl cgi called by the form. Can any one help me this issue? Justin perl cgi file: #!/usr/bin/perl use CGI; $query = new CGI; print "Content-t