in reply to file data

At the top of your code, you are declaring the $subdir variable, but in the regular expression, you are using $baseDir. Is this a typo?

TStanley
--------
It is God's job to forgive Osama Bin Laden. It is our job to arrange the meeting -- General Norman Schwartzkopf

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.