<?
$file = $_GET["file"];
$path_file_name = "json/".$file;
 
header("Content-Disposition: attachment; filename=" . urlencode($file));    
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
header("Content-Description: File Transfer");             
header("Content-Length: " . filesize($path_file_name));
flush();
 readfile($path_file_name);
?>
