Files
web.ems/wxc2_omc/security/operLog/operLogExport.php
agtuser 16a3fd1e1b init
2024-11-11 17:56:00 +08:00

14 lines
435 B
PHP
Executable File

<?php
$operLogCsvFileName=$_REQUEST['operLogCsvFileName'];
$operLogName=$_REQUEST['operLogName'];
header("Content-type: application/csv");
header("Content-Disposition: attachment; filename=$operLogName");
//use for download csv in https
header('Expires: 0');
header('Pragma: public');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Cache-Control: public');
readfile($operLogCsvFileName);
?>