shabeer3508 / php-excel-reader

Automatically exported from code.google.com/p/php-excel-reader
0 stars 0 forks source link

File not readable #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Reading the file
2.It is a large file

What is the expected output? What do you see instead?
It doesn't read the large files. but it works with small files.

Please provide any additional information below.

In case of public domain's url such as " 
http://www.imf.org/external/pubs/ft/weo/2010/01/weodata/WEOApr2010all.xls ".. 
please give me a solution to read this data.

Original issue reported on code.google.com by suresve...@gmail.com on 9 Aug 2010 at 12:10

GoogleCodeExporter commented 9 years ago
If you want to read file from the web
find the code in excel_reader2.php

        if (! is_readable ( $sFileName )) {
            $this->error = 1;
            return false;
        }

change to

        if (! is_readable ( $sFileName )) {
            //$this->error = 1;
            //return false;
        }

if you trouble with large file
first of add second parameter to false 
it's ignore font, color etc. data

require_once 'excel_reader2.php';
$data = new Spreadsheet_Excel_Reader('your excel file',false);

if don't work 
look at
http://php.net/manual/en/function.set-time-limit.php

Original comment by akkaya.i...@gmail.com on 10 Oct 2011 at 2:00

GoogleCodeExporter commented 9 years ago

Original comment by Tho...@gmail.com on 10 May 2013 at 7:33