perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: [RESEND] Empty file uploads
Date Fri, 18 Mar 2005 14:01:10 GMT
> 
> When it fails, I get this instead:
> 
> 
> $VAR1 = {
>           '-file' => undef,
>           'file' => bless( \*{'Fh::fh00001somefile.txt'}, 'Fh' )
>         };
> 
> 
> It seems that the browser is at least doing the right thing, 
> because the CONTENT_LENGTH and CONTENT_TYPE environment 
> variables seem to be set
> correctly:
> 

While the browser seems to send the file, it does not seem to encode it
correctly, otherwise we should see something in -file.

The only thing I see that is differnt with the form that I use is that you
don't have the action attribute in your <form> tag

Gerald

P.S. What version of CGI.pm do you have?


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message