"Scott, Deborah" wrote:

> Does anyone know where I can get a script that looks into the contents of a
> directory and outputs the contents of the directory into a list that is
> displayed on an HTML page? (Also, the names should contain hyperlinks to
> those contents.)
>
> Or, how would I do this?

Hi Deborah,

It's actually a matter of not doing.  If you have a web-enabled directory, and it does 
not have a default index, [usually, particularly on Unix, this is index.html] the 
server automatically generates an index of the files available.

This is the traditional standard, anyway.  Some web-server configurations may have 
directory browsing disabled by default, and in those cases you would have to re-enable 
it.  this seems to be the case with IIS.  With Unix, this permission would correspond 
to read permission on the folder.

So you actually don't need to do any programming at all for this task, unless you want 
to do some presentation processing, in which case you might have your index.html call 
an appropriate Perl script on loading.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to