Error:The filename try.xlsx is not readable in excel_reader2.php <p>I want to read the Uploaded Excel file in php. so i downloaded excel_reader2.php</p> <p>from following link</p> <p><a href="https://code.google.com/p/php-excel-reader/downloads/list" rel="nofollow">link</a></p> <p>when I inserted this into my code i got following Error:</p> <pre><code>The filename try.xlsx is not readable. </code></pre> <p>My code is:</p> <pre><code>if (file_exists($filepath)) { echo "File present"; } else { die('The file ' . $filename . ' was not found'); } $data = new Spreadsheet_Excel_Reader($filename,false); $data-&gt;read($filename); $data-&gt;val(1, 'A'); echo $data; </code></pre> <p>So after searching in Google I got link that is <a href="http://stackoverflow.com/questions/8983298/the-filename-feed1-xls-is-not-readable-in-php">Here</a></p> <p>After Following this also i am getting same error.</p> <p>So can any one help me, where I am going wrong?</p> <p>Thank you.</p>