Displaying Folder & Filenames
Posted: Mon Sep 05, 2005 11:55 am
I'm looking to add a pretty standard bread crumb trail to my website. ( Index -> Photos -> Cancun )
My directory is pretty well organized, IMO anyway. Each section is given its own folder, ie: Photos, Links, etc. In each folder are the pages that make up that section. I have a lot of pages so going through each one and actually hand coding a bread crumb trail is tedious work. On each page though, I've used a PHP include to place a header with my navigation. On that header I'd like to add some lines of code that would display the Index -> Folder_Name -> Filename (minus extension). Is this possible?
How would I go about doing it?
Thanks in advance for any help!
My directory is pretty well organized, IMO anyway. Each section is given its own folder, ie: Photos, Links, etc. In each folder are the pages that make up that section. I have a lot of pages so going through each one and actually hand coding a bread crumb trail is tedious work. On each page though, I've used a PHP include to place a header with my navigation. On that header I'd like to add some lines of code that would display the Index -> Folder_Name -> Filename (minus extension). Is this possible?
How would I go about doing it?
Thanks in advance for any help!