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
Actually I've tried the following piece of code.
$inputfile = $Request->Form('Offer');
%><%=$inputfile%><%
open (OUTFILE,">/export/home0/www/biznet/offers/newfile")
or die "Can not write to file because of
$!";
binmode OUTFILE;
binmode $inputfile;
while (read($inputfile,$buffer,1024))
Hi,
I'm new in mod_perl.
I'm trying to write an ASP script using Perlscript that will be able to
perform file uploading from an html form.
Is there any script that I could use?