title: Check for new files in a folder
body: <p>I have a php script i run every 5 minutes with Cron from a folder. In the folder there is several images and i add more as time goes. </p>
  
  <p>I was wondering how i can make the php script in the beginning check if NEW files exist after the last time the script was run? If new files exist the script should just go on and if no new files exist then it should not go on.  I tried searching around but i cant find anything regarding php.</p>
  
  <p>Anyone that know a quick solution to this problem maybet ?</p>