* * Simply specify the path to tree with parameter . * * (c) Marcus Boerger */ require_once("sub_dir.inc"); foreach(new sub_dir($argv[1], true, isset($argv[2]) ? $argv[2] : false) as $f) { echo "$f\n"; } ?>