title: The filename feed1.xls is not readable in php
body: <p>Hi I want to parse an excel file using zend framework. I went to <a href="http://devzone.zend.com/27/reading-and-writing-spreadsheets-with-php/" rel="noreferrer">Zend Developer Zone</a> and found a solution to download <a href="http://sourceforge.net/projects/phpexcelreader/" rel="noreferrer">phpexcelreader</a>. I downloaded the code set a project at localhost and run the code. When I treid to read an <code>.xlsx</code> file it generates an error </p>
  
  <pre><code>The filename feed1.xlsx is not readable
  </code></pre>
  
  <p>I saved the file in <code>.xls</code> format and run the code parsed the file successfully. Now I want to implement this in my project developed in <code>Zend framework</code>. I created a model, and in my project and <code>require_once</code>ed the excelreader at top of my project like this.</p>
  
  <pre><code> require_once 'Excelreader/Excel/reader.php';
  class ExcelreaderModel extends Zend_Db_Table
  {
  function readFile()
  {
      $data = new Spreadsheet_Excel_Reader();
  
      // Set output Encoding.
      $data-&gt;setOutputEncoding('CP1251');
  
      //$data-&gt;read('Excelreader/Excel/feed1.xls');
      $data-&gt;read('feed1.xls');
      echo '&lt;pre&gt;';
      print_r($data);
      echo '&lt;/pre&gt;';
  }
  }
  </code></pre>
  
  <p>I called this model function in my controller. But it is generating the same error which I found on localhost using <code>.xlsx</code> files. But I am reading <code>.xls</code> file which is parsed by the code running at simple project on localhost.I am also running zend framework at local.</p>
  
  <p>What is wrong in my code? Or is there any way to do the same task.?</p>