Stas Bekman writes:
> Try:
> http://perl.apache.org/release/docs/1.0/guide/snippets.html#File_Upload_wi
> th_Apache__Request
Thats where i got the idea for my script - but it doesnt work for me.
Perhaps the $r (im using Mason 1.04 under debian) isnt a
really Apache::Request? I use Mason with
[EMAIL PROTECTED] wrote:
> Hello,
> I build a simple File-Upload form:
>
>
>
>
>
>
> and a script test_upload, which is called from the form:
> <%perl>
> my $file = $r->upload;
> my $ftype = $file->info->{'Content-Type'};
> my $fsize = $file->size;
> my $fname = $file->filename;
> $m->out("$
Hello,
I build a simple File-Upload form:
and a script test_upload, which is called from the form:
<%perl>
my $file = $r->upload;
my $ftype = $file->info->{'Content-Type'};
my $fsize = $file->size;
my $fname = $file->filename;
$m->out("$ftype : $fsize : $fname");
<%ARGS>
$Tfile => u