Is there a script that can dynamically list the contents of a folder?

Posted by user294756 on Stack Overflow See other posts from Stack Overflow or by user294756
Published on 2010-03-16T13:32:17Z Indexed on 2010/03/16 13:36 UTC
Read the original article Hit count: 178

Filed under:
|
|

I am redesigning my company's intranet site in Wordpress and one of the things they need is an archive of company memos. There are over 300 memos saved in one location and I'm wondering if there is a jQuery script that I can run that will read the contents of a local (network) folder and auto-generate a list of the contents of that folder dynamically (and generate those names as a hyperlink to that file, but if I can list the files, I can get include the hyperlink tag myself).

I can always manually create the list of hyperlinks (would take a couple days to do so) but if I can generate it dynamically, whenever a new memo is added, the script will automatically include it making the site much easier to maintain.

Is this at all possible?

I know that this can probably be done in PHP, but the page I need to do this on is not a php page, it is one of the subpages that is created in wordpress that does not have a php file extension and can't run php code (that I know of)

Thanks in advance for any and all assistance.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about php