You just need to open the specified .xlsx file. Then it will be corrected and closed manually. Connect external modules PHPExcel:
...\Classes\PHPExcel.php и ...\Classes\PHPExcel\IOFactory.php Further so:
$pExcel = PHPExcel_IOFactory::load("C:\\info\\p_f600.xlsx"); Work with a sheet, etc. it turns out, for example, like this:
// выбираем лист, с которым будем работать; $pExcel->setActiveSheetIndex(0); // получаем активный лист; $aSheet = $pExcel->getActiveSheet(); But I just need to open the file. Tell me, please, how to do it.
$pExcel = PHPExcel_IOFactory::load("C:\\info\\p_f600.xlsx");you "just open", but this is probably not it. Then from where does it take you to "close hands" - SHA !? In Russian, explain what you want to achieve. This is straightforward in steps, for example - “I want to break through the file so that the editor starts up and this file opens in it, then fix it and save it with my hands” - rjhdbyexec()as an argument should be the full path toExcel.exeand the file name parameter. That is, a team that does what you need through Start-Run. Not sure, however, that will start. Because apache / iis work on behalf of the other user. - teran