PDA

View Full Version : Auto creation of a web directory web page


drriley
01-23-2006, 10:59 AM
My web host does not allow retrieval of a list of directory contents, so to work around this I have to create a quick web page of the directory contents with links to each file. Is there some way (program, or html trick or something) that I can do this automatically (have a web page created of the directory contents/listing with all the links created)?

Thanks for any suggestions/advice.

ronaldb66
01-23-2006, 11:40 AM
This could be accomplished fairly easily with a server side script, for example in PHP. Be aware of the security implications, though, which is why directory listings usually are restricted or forbidden.
A script would allow you to enable only certain actions, or show only certain types of files, reducing security risks.

bazz
01-23-2006, 06:49 PM
Hi,

As usual, I am not sure I am interpreting a post properly.

Are you trying to list the contents of your own server directories/files - as if to index them for easier finding, or are you wanting to build a portal type website where you buld a directory to many businesses/people?

bazz

jackle
01-23-2006, 08:48 PM
I think he wants something to look like this link here: http://www.rfc-editor.org/rfc/fyi/