[PHP] Looping through directories?

2003-01-08 Thread Jeff Lewis
Currently I have a script that reads an index file and from that index file it then loops through all files in that directory based on the index. Instead of one directory now I have several and I want to loop through each directory and go to each directory's index file. Since there is no

Re: [PHP] Looping through directories?

2003-01-08 Thread Chris Wesley
On Wed, 8 Jan 2003, Jeff Lewis wrote: pattern for the name if the indexes, I assume I need to create an array holding the directory name and the associated index file name like so $dirs = array(Sports = spindex.xml, Business News = business.xml) etc Now, I need help with the loop to whip