title: How to validate csv file?
body: <p>How can we validate a CSV file ? </p>
  
  <p>I have an CSV file of structure:</p>
  
  <pre><code>Date;Id;Shown
  15-Mar-10;231;345
  15-Mar-10;232;346
  and so on and on !!! approx around 80,000 rows. 
  </code></pre>
  
  <p>How can I validate this CSV file before starting the parsing using <code>fgetcsv</code> ?</p>