title: Detect an edited csv file using PHPExcel
body: <p>I am using PHPExcel to validate csv files before parsing them and storing in my database and server. I am trying to use the file properties to determine if the file has been modified or if it is the original file. I have used the following for .xls, .xlsx with great results (using the appropriate reader);</p>
  
  <pre><code>    $file = $_FILES['file']['tmp_name'];
      $reader = new PHPExcel_Reader_CSV();
      if($reader-&gt;canRead($file)){
          $object = $reader-&gt;load($file);
          $created = $object-&gt;getProperties()-&gt;getCreated();
          $modified = $object-&gt;getProperties()-&gt;getModified();
          if(!$created===$modified){
               //File has been edited and cannot be used
          }else{
              //File is good, continue processing
          }
      }
  </code></pre>
  
  <p>However, when using CSV files, NOTHING is working as expected. I renamed an MS-Word doc to .csv->passed, edited a csv->passed, even used a .jpg->passed. What on earth am I missing?? Any help would greatly appreciated! Edit->I should note that <code>$created</code> and <code>$modifed</code> are an exact match when <code>var_dump($object)</code> despite having edited the file and confirming the changes within the document properties.</p>