- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHi,
Can someone help me? (2nd attempt at posting this request)
I have a folder called 'content' on my weberver, e.g.
//mysite.com/content/
It contains .html web pages.
I would like a php page e.g. findfiles.php (//mysite.com/findfiles.ph
to search the folder 'content' for all html pages and present them as a link in a dropdown menu.
On selecting a file from the dopdown list that page should then load within findfiles.php, beneath the navigation. The dropdown navigation remains visible, and useable.
Perhaps on first run, a welcome note should say 'please use the dropdown menu to select a page from our archive - pages appear here when selected.'
NB I already have another php page to automatically update another, different page, based on the current date and by the name of files within the 'content' folder.
Please see:
http://www.experts-exchang
It would be handy to take this into account.
Files are named by date that they go live, e.g. 23_09_2009.html
It would be excellent to sort the dropdown menu by date / numerically so the most up to date resides at the top of the menu.
Perhaps it would be wise to limit the number of files to the last 15.
One final point, the folder 'content' will contain files named / dated beyond the current date. It's important that these files are not listed or available in the drop down menu. E.g. 01_01_2011.html
What an ask huh?
Many thanks,
Owen
This question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership