Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

display a pdf using perl 1

Status
Not open for further replies.

linctus

Technical User
Jul 14, 2003
14
AU
Hi all,
I have a perl / cgi site where users can view text files relevant to themselves. These files are displayed specific to their login user name.

I now want to store pdf files in a spool dir and also enable users to view these as per the criteria above (their login user name).

I can do all the above but… can anyone tell me, how do I simply display a pdf on a web site using perl/cgi.
 
I'm not sure if this is what you're looking for,

print &quot;<a href=\&quot;pdfs/user0001.pdf&quot;>Your PDF</a>\n&quot;;

--Paul

It's important in life to always strike a happy medium, so if you see someone with a crystal ball, and a smile on their face ...
 
Doh! elementary
Thanks for that Paul,
Love ya work!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top