Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Perl CGI output in PDF

by Joost (Canon)
on Aug 26, 2006 at 11:33 UTC ( [id://569790]=note: print w/replies, xml ) Need Help??


in reply to Perl CGI output in PDF

the header name is "Content-Disposition" not "disposition" or "filename". update: And you should use a semi-colon to separate the filename argument.

In other words, you should probably use

print $query->header(-expires=>'now', -type=$mimetype, -content_dispos +ition=>"inline; filename=sample.pdf");

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://569790]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-24 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found