For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > August 2005 > Posting all files in a directory as hyperlinks









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Posting all files in a directory as hyperlinks
sierrasurf@verizon.net

2005-08-29, 7:55 am

Hi All,
I am trying to post the contents of a directory as HTML hyperlinks. The files are all PDF format (which should not matter much).

thanks
-r
Charles K. Clarkson

2005-08-29, 7:55 am

sierrasurf@verizon.net <mailto:sierrasurf@verizon.net> wrote:

: I am trying to post the contents of a directory as HTML
: hyperlinks. The files are all PDF format (which should not
: matter much).

When solving, you might try breaking a problem down into
manageable pieces. I tend to think of each piece as a subroutine
(or subroutines). For your problem you might break things down
into these parts.

Choose directory.
Get directory contents.
Convert file names and directories to hyperlinks.
Write HTML page.
Send page to browser.

Which of these steps might you need help with?


HTH,

Charles K. Clarkson
--
Mobile Homes Specialist
254 968-8328

PS: apache servers can do this automatically. Read the docs
for details.

John Doe

2005-08-29, 7:55 am

sierrasurf@verizon.net am Sonntag, 28. August 2005 18.08:
> Hi All,
> I am trying to post the contents of a directory as HTML hyperlinks.


Great!

> The files are all PDF format (which should not matter much).


Nice to know!


joe (who likes apples)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com