I have determined the solution to this problem. The path info was wrong. All of the sub dirs have '.' and '..' and an index.php file. Most have identical sets of directory names. I am using scandir() to get the file list and that doesn't seem to include the necessary path info for each item in the list it produces. I will have to add that for the other functions to find and process the list items properly. Thanks to anyone who has spent some time with this issue. JK -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php