I need a PHP script that recursively goes within a directory (not subdirectories within the directories) and fetches the dir names and file names. The dir & file names go into the db. Only new dirs and file names get added to the database. Dir and file names are stored into 2 separate tables. File names are relationally associated with the dirs. This should be a quick job for someone who knows the file management within PHP. I'm a PHP programmer, but I just don't have the time to do this. So, this is yours.