添加phpoffic

This commit is contained in:
巴掌 committed 2018-11-01 08:27:38 +08:00
1 parent 8c1fbfd00a
commit 4bc2bfa35a
627 files changed
+169749 -4

No files matched your search

@@ -0,0 +1,19 @@
<?php
// Turn off error reporting
error_reporting(0);
use PhpOffice\PhpSpreadsheet\IOFactory;
require __DIR__ . '/../Header.php';
$html = __DIR__ . '/../templates/46readHtml.html';
$callStartTime = microtime(true);
$objReader = IOFactory::createReader('Html');
$objPHPExcel = $objReader->load($html);
$helper->logRead('Html', $html, $callStartTime);
// Save
$helper->write($objPHPExcel, __FILE__);