> > but maybe someone can provide 
> > me a small kick-start? Thank you
> 
short answer -- you don't need anything more that some simple 
scripting. Nothing at all in the server start up file.

client html file

<form action=myupload.plx encoding ='MULTIPART/FORM-DATA'
  method=post>
<input type=file name=myfile size=15>
<input type=submit>
</form>

server side
BEGIN {
  use Apache;
  use Apache::Request;
# etc.....
}

my $r = Apache->request;
my $apr = Apache::Request->new($r);

@_ = $apr->param;                       # get the query parmaters
foreach(@_) {
  $qs{$_} = $apr->param($_);
}

open(F,'>somefiletosave.xxx');
my $uploadhandle = $apr->upload->fh;
select F;
$| = 1;
select STDOUT;
while(read($fh,$_,1000)) {
  print F $_;
}
close F;
# bye now.
1;

This is short and sweet. It's up to you to insert appropriate error 
checking and failure escapes....
[EMAIL PROTECTED]

Reply via email to