Folder Views

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ekbranson
Forum Newbie
Posts: 5
Joined: Tue Jul 12, 2005 12:20 pm

Folder Views

Post by ekbranson »

Hello, I'm not even sure this is possible. But I have thousands of documents stored in different folders on a server. I would like to create a link from a table that will take users to the folder that contains the documents related to the table item clicked. The part I can't figure out is how to create a link to open a folder. Is this possible?

I am using PHP 5 and Apache 1.3 (I Think). ASP has something that might work called FileSystemObject. Does something like this exist in Appache?

Thanks for any input or links to information.
ekbranson
Forum Newbie
Posts: 5
Joined: Tue Jul 12, 2005 12:20 pm

Post by ekbranson »

Never mind, I think I came up with a solution using vbs. I will attempt to use vbs to loop through all the directories and store all related file names in a database. Then create a page that will display the files, allowing the user to select the appropriate document.

Thanks for sounding board.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

glob()

There are some useful user comments.
Post Reply