I hope Mark Baker can help me: This seems redundant but I have the simplest need of PHP Excel and it isn't working. I simply need to read in .xlsx and .xls files submitted by the user (internal admin site). The library is so incredibly slow that it is unusable right now. I can read massive .csv files in no time (with my own code) but even a 20 row x 30 column excel file is taking over 30 seconds and sometimes close to a minute to read. I've tried using all the examples I could and in reading over MANY stack overflow questions, MANY people have the same issue. This isn't a "loader" issue as I'm not using a loader.
I have 3 lines of code in particular:
$inputFileType = PHPExcel_IOFactory::identify($inputFileName);
$objReader = PHPExcel_IOFactory::createReader($inputFileType);
$objPHPExcel = $objReader->load($inputFileName);
It is that 3rd line of code that is so slow every time.
Is there something I'm missing? Something EVERYONE is missing? Is there a reason it is so slow?
Any help would be much appreciated.
Thanks! -scott