file/directory matching

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
slonison
Forum Newbie
Posts: 13
Joined: Thu Jun 28, 2007 6:50 pm

Post by slonison »

is there any way to make the files in the directory match with the corresponding subdirectory. (ie if damn.exe is in directory wow/omg/whoa but is the eigth file indexed.) it will appear as

$files[8] displays: "damn.exe"
$directory[8]. displays: "wow/omg/whoa"

ps. for mysql table building?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Please don't wake up long dead threads.

This thread has been split from: viewtopic.php?t=45258
Post Reply