init web ems all

This commit is contained in:
agtuser committed 2024-09-27 17:13:36 +08:00
1 parent 81c97acbe9
commit 5cc56f8078
4263 files changed
+798779

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
<?php
$directory=$_REQUEST['directory'];
$filename=$_REQUEST['filename'];
header("Content-type: application/csv");
header("Content-Disposition: attachment; filename=$filename");
//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("$directory/$filename");
?>