Check if directory has changed

From: Date: Sun, 26 Jan 2003 02:08:33 +0000
Subject: Check if directory has changed
Groups: php.general 
Request: Send a blank email to php-general+get-133150@lists.php.net to get a copy of this message
I would like to write a function to check if the contents of a directory, its files, have been changed. The idea is to check the directory every 2 minutes and take some actions if some files were updated or new files added. Does anyone has any ideas? I was considering listing the files (name, date modified, size) on a variable array, then list again and compare both arrays. In case there are different, take some action. Thank you, C.F.

« previous php.general (#133150) next »