init web ems all
This commit is contained in:
14
wxc2_omc/security/operLog/operLogExport.php
Executable file
14
wxc2_omc/security/operLog/operLogExport.php
Executable file
@@ -0,0 +1,14 @@
|
||||
<?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);
|
||||
?>
|
||||
Reference in New Issue
Block a user