- Last post
- 8 Responses
dear php gods
I'm trying to create a php array that recursivley flows down directories and drops them into the array as such
level0 : '
- ernexbcn 0
- Stugoo 0
I'm trying to create a php array that recursively flows down directories and drops them into the array and outputs is as a json Array as per the following example:
A friend hooked me up with the following php but i cant get my head around how to nest the arrays as I need them.
can anyone help?
- vaxorcist 0
hmm.. do you need the recursive "tree-walking" directory "scanner" to dump everything into a "flat" array, or an array of arrays that reflects the directory tree structure?