I have a couple small PHP applications/scripts on my website that I would like to upgrade to have send an email to specific email addresses whenever a file is added or updated to the directory. One script is a simple file upload, the other is a PHP-based photo album. Basically the functionality would be to alert people when the directory has been updated.
I don't need the email addresses to be added dynamically--I can hardcode those into the page if that is simpler.
The simpler the better--I am a novice when it comes to PHP, and most often only use scripts already written and tested. I imagine this could be a script separate from the existing pages that maybe acts like a listener in the main directory?
Thanks for the help!