Location: PHPKode > scripts > Tom M8te > tom-m8te/tom-download-file.php
<?php
  header("Pragma: public");
  header("Expires: 0");
  header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
  header("Cache-Control: private",false);
  header("Content-Disposition: attachment; filename=".$_GET["file"].";" );
  header("Content-Transfer-Encoding: binary");
  header("Content-Length: ".filesize($_GET["file"]));
  echo file_get_contents($_GET["file"]);
?>
Return current item: Tom M8te