First of all you should make sure that we are able to read your question, so that answers are even possible. Please use break tags and such as well, though you know the bold tag already. Wrap your code in code tags. Thank you.
Do you want to display a list of pdf files in a certain directory or the pdf file itself? I am not sure.
For the access problem: This is a configuration problem of you r web server. Maybe you want to add a symbolic link and set the rights in an .htaccess file. (I am persuming that you use apache if not, have a look at the documentation there). You may want to look at apache's website to look up the right settings.
Perl related stuff: Whenever you want to output some html stuff use cgi. Try to run a search on cgi on this site. It will give you tons of nodes to look at. Also try perldoc CGI at your command line.
Hope this helps,
C-Keen
P.S.:This answer may seem a bit harsh but this place is not for doing somebodies work, just to learn how stuff is to be done. To do so you have to fiddle with it yourself
Update: Thanks kudra for reformatting
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.