Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Perl CGI output in PDF

by blazar (Canon)
on Aug 27, 2006 at 07:38 UTC ( [id://569865]=note: print w/replies, xml ) Need Help??


in reply to Perl CGI output in PDF

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

In addition to Joost's reply, I also notice that you have some ='s instead of =>'s, which should issue an error. I deduce that you either did not run the code or more probably retyped it. Which shows why it is a good practice not to, but to copy and paste it instead.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://569865]
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: (2)
As of 2024-04-25 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found