in reply to Printing to a Variable
my $subr = $r->lookup_file($file); return 404 unless -f $file and $subr->status == 200; $r->content_type("application/download"); $r->header_out('Content-disposition' => "attachment; filename=\"$fil +e\""); $r->send_http_header; return 200 if $r->header_only; $subr->run; $m->abort;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Printing to a Variable
by Dr. Mu (Hermit) on Mar 15, 2002 at 06:31 UTC | |
by dreadpiratepeter (Priest) on Mar 15, 2002 at 14:13 UTC |