Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: Download PDF

by BaldPenguin (Friar)
on Jun 19, 2005 at 03:14 UTC ( [id://468080]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^3: Download PDF
in thread Download PDF

THe example above was mod_perl, you probably got that error because 1) you are not using mod_perl or 2) you are calling your Apache object something other than $r. In the case of #1, a CGI.pm example follows:
use CGI qw(:standard); print header( 'type' => 'application/pdf', 'attachment' => 'adobe.pdf' );

Don
WHITEPAGES.COM | INC

Edit by castaway: Closed small tag in signature

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://468080]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.