Most common cause is forgetting to avoid the "." and ".." entries (self and parent).

Not in this case though

It could be a memory leak.

Try adding "$shell=0" just before the function exit.


Edited by Richard H. (2004-08-16 03:05 PM)