List directory/directory/file

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
pylon42
Forum Newbie
Posts: 5
Joined: Tue Aug 24, 2004 10:47 am

List directory/directory/file

Post by pylon42 »

G'day

Very, Very new to php - i'm actually a designer, but my programmer is very busy and we have a deadline in a few days, so I figured I'd try and tackle this one myself.

I'm attempting to put some dynamic breadcrumbing into our site. So I was wondering - is it possible to write a php script that will detect the directory structure of your site back to the root and then print it out? Kind of like:

Main Page > Sub Folder > Filename

?

thank you kindly
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Post Reply