Guest User

Untitled

a guest
Sep 20th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. header('Content-Type: application/octet-stream');
  2. header('Content-Disposition: attachment; filename='.basename('mismatch_log'. $month . '.txt'));
  3. header("Cache-Control: no-cache, must-revalidate");
  4. header('Pragma: public');
  5. header('Content-Length: ' . filesize('mismatch_log'. $month . '.txt')); readfile('mismatch_log'. $month . '.txt');
  6. header("Refresh:0");
Add Comment
Please, Sign In to add comment