This commit is contained in:
2025-04-09 13:44:43 +07:00
parent 2046d31d24
commit e4705579f0
5218 changed files with 0 additions and 772569 deletions

View File

@ -1,33 +0,0 @@
<?php
require_once 'gridExcelGenerator.php';
require_once 'gridExcelWrapper.php';
$debug = false;
$error_handler = set_error_handler("PDFErrorHandler");
if (get_magic_quotes_gpc()) {
$xmlString = stripslashes($_POST['grid_xml']);
} else {
$xmlString = $_POST['grid_xml'];
}
$xmlString = urldecode($xmlString);
if ($debug == true) {
error_log($xmlString, 3, 'debug_'.date("Y_m_d__H_i_s").'.xml');
}
$xml = simplexml_load_string($xmlString);
$excel = new gridExcelGenerator();
$excel->printGrid($xml);
function PDFErrorHandler ($errno, $errstr, $errfile, $errline) {
global $xmlString;
if ($errno < 1024) {
error_log($xmlString, 3, 'error_report_'.date("Y_m_d__H_i_s").'.xml');
// exit(1);
}
}
?>