You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
405 B
19 lines
405 B
<?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__);
|
|
|