title: PHP Listener for Uploaded Files
body: <p>I am working on a project and am stuck at this part.  I am trying to write a script in PHP that will I guess scan my directories on my server.  Once a set of files is uploaded to a directory (Probably around 100 files uploaded) I want this script to then perform an event.</p>
  
  <p>I am stuck on the code that will scan my directories while waiting for the files to be uploaded.</p>
  
  <p>The structure of what I am looking for is this:</p>
  
  <p>(Code to scan directories, waiting for files to be uploaded) -> Once files are uploaded -> Perform this event.</p>
  
  <p>Any help would be greatly appreciated!</p>
  
  <p>Thanks</p>
  
  <p>My server is hosted by Network Solutions if that helps. So I am not sure if I will be able to or have access to start a cron job.</p>