I have this dir structure for logs
logs
-2012
--01
---01.php
---02.php
--02
---20.php
---23.php
I want to be able to use PHP's RecursiveTreeIterator to be able to display a tree having actual php files(not dirs) as links to display the file contents.
Using the first answer in this question as a guide: Sorting files per directory using SPL's DirectoryTreeIterator
I am new to most of PHP 5's SPL so I need some help here. How do I build the tree? Thanks!