> $r->headers_out->set('Content-Disposition' =>
> "attachment;filename=$downloadFilename");

try

  $r->headers_out->set('Content-Disposition' => ' inline;
filename=$downloadFilename');

> $r->send_fd($fileFH);
> $r->send_http_header();

those definitely need to be reversed - you need to send the headers before
you send any output.

--Geoff

Reply via email to