Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Opening PDF through CGI

by nobull (Friar)
on May 26, 2006 at 16:50 UTC ( #551906=note: print w/replies, xml ) Need Help??


in reply to Opening PDF through CGI

I agree that at first glance that should work.

Perhaps ot would help if you told us in what way it fails.

Note, rather than passing the string "File Not Found" as the content of the PDF entity body if open() fails for any reason perhaps you should log an error containing the actual reason.

open(FIN,'<',$full_path") or die $!;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2021-04-12 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?