troubleshooting Question

Javascript or php to search directory and display file links on page

Avatar of code_seekor
code_seekor asked on
JavaScriptPHPScripting Languages
7 Comments2 Solutions429 ViewsLast Modified:
Hi,

I have a map that displays different airports, on clicking one of the airports (HTML pages) e.g ORD the user will be directed to a page with 5 tabs where each tab should display links to documents from a folder based on the airport they selected. Each tab displays certain documents related to the ORD. Essentially I would need to display links based on what tab is selected from a directory that can have subfolders specific to each airport and each tab.

<folder>ORD
       <sub-folder>Airport information (tab)
         info.pdf
         info2.pdf
       <sub-folder>Airport Development (tab 2)
         dev.pdf
         dev2.pdf
         dev3.pdf
         dev4.pdf

And so on...

I need to do this dynamically so that I don’t have to create or remove a link each time a new document is added or removed to a folder.

I am completely new at setting up anything like this. A specific explanation of what pages or scripts needed to be created and where scripts should be placed would be extremely helpful.

Any help or suggestions on doing this would be highly appreciated!
Thanks
ASKER CERTIFIED SOLUTION
EMB01

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros