ooops, you need to change the
"$this->recurseDirectory(getcwd().'/'.$file, getcwd(), $files)"
to just plain
"recurseDirectory(getcwd().'/'.$file, getcwd(), $files)"
from inside the function if you're not planning on using this function from
within a class...
sorry about that only spotted it af
Ron,
I've got a function that does it for directories, and I've just quickly
modified it for you to do what you've stated, you can modify it if there is
a problem.
try this:
$files = recurseDirectory("/home/mydir", null, null);
foreach ($files as $i => $filename) {
print "proce