|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 101 ||All time: 9,487 This week: 201|
This package can be used to watch a folder and send email when new files appear.
It can take the path of a given directory and checks the time of the last change of all files in the directory to get the list of all files that were changed since the last time this checking procedure was performed.
The class sends an email message for each of the files that were added or changed in the directory.
It stores in a control file the time of when each check was performed, so next time the check is done again it can compare that time with the time of last change done on each of the files present in the directory.
Simple PHP Package To Track The Directory For New Files and If New File Has Been Detected It Sends Email To Admin
git clone https://github.com/daudmalik06/DirTracker
cp .env.example .env
set SMTP credentials in .env file and other variables
php track.php /path/to/dir
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.