[Melbourne-pm] Delivering PDFs via CGI

Rick Measham rick at measham.id.au
Mon Jun 19 00:32:44 PDT 2006


David wrote:
>     $request->content_type('application/pdf');
>     $request->header_out("Content-Disposition" => "attachment; 
> filename=myfile.pdf");

Absolutely the above .. IE needs to know that the disposition is an 
attachment and that you want to call it myfile.pdf rather than yourscript.pl

Cheers!
Rick Measham
-- 
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au




More information about the Melbourne-pm mailing list