Creating an index of over 1500 files

I have a site that has around 2,500 pages linking to various photography, art, short stories, poems etc. I am trying to figure out a good way to organize, index and link to all the pages. I’ve done the majority of the site in PHP, the stories and poems are all text files that I previously had been using (php include) to pull up.

Is there a good solution to accomplish this in a LAMP environment? Or just go about it the old fashion way and manually code every link to every page.

Any ideas will be greatly appreciated. Thanks in advance.

Manually?!? :stuck_out_tongue:

Read all the files from each directory into an array. Loop through the array, echoing out links along the way.

http://php.net/manual/en/function.readdir.php

Sponsor our Newsletter | Privacy Policy | Terms of Service