From 43614f7b1d6b4607132f84a69af0701766bbef58 Mon Sep 17 00:00:00 2001 From: patrick Date: Thu, 12 Sep 2019 14:15:58 +1000 Subject: [PATCH] shorten csv file name --- html/timesheet.html | 2 +- ts.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/timesheet.html b/html/timesheet.html index a1dd7d7..a973bec 100644 --- a/html/timesheet.html +++ b/html/timesheet.html @@ -177,7 +177,7 @@
- +
diff --git a/ts.php b/ts.php index 9ea35b6..3e8958e 100644 --- a/ts.php +++ b/ts.php @@ -149,7 +149,7 @@ class AcareOffice{ $clients= $_POST['clients']; $start = $_POST['start'];; $finish = $_POST['finish'];; - $filename="{$start}___{$finish}.csv"; + $filename="n" . time() . ".csv"; header("Expires: 0"); header("Cache-Control: no-cache, no-store, must-revalidate");