Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scanning for folders in php

Status
Not open for further replies.

rjseals

Technical User
Nov 25, 2002
63
US
Hello,
I am a web administrator at a school district. We are offering teachers a way to have their own webpages. So for instance I have a school folder with an index.php that I want a listing of all of the teachers. I am going to create a folder with the user name of each teacher within the school folder.

IE (will list all of the teachers with a folder and homepage.

What I want to try to do is have php scan for the folders of the usernames and somehow automatically create hyperlinks or a drop down list of the usernames within the school folder.

So when they go to it will find all folders within the schools folder.

Can someone point me into the right direction on how to do this.

I want to do this so I will not have to maintain the index page if teachers leave or if some come.

Thanks for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top