Array Based Directory Tree
Posted: Tue Apr 18, 2006 6:29 am
I've been trying to figure a way to make a directory structured array, where directories are array(s) and files are string(s), keeping the exact format of the directory and all the directories and files it has, no matter how deep it goes! I have looked at hundreds of so called array based tree(s) but none of them, maintain a true array based directory structure.
I know I can do this with eval();, when looping, splitting the directory separator '/' and building the array that way, but I am wondering if there is some way to do it without using eval();
tia
pif!
I know I can do this with eval();, when looping, splitting the directory separator '/' and building the array that way, but I am wondering if there is some way to do it without using eval();
tia
pif!