berikut adalah script Php untuk melakukan dowload
/ / download file
$ file = "http://www.yourdomain.com/downloads/" $ _GET. ['file']."";
header ("Pragma: public");
header ("Expires: 0");
header ("Cache-Control: harus-memvalidasi ulang, pasca-cek = 0, pra-check = 0");
header ("Content-Type: application / force-download");
header (. "Content-Disposition: attachment; filename =" basename ($ file));
header ("Content-Description: File Transfer");
@ readfile ($ file);
?>
/ / download file
$ file = "http://www.yourdomain.com/downloads/" $ _GET. ['file']."";
header ("Pragma: public");
header ("Expires: 0");
header ("Cache-Control: harus-memvalidasi ulang, pasca-cek = 0, pra-check = 0");
header ("Content-Type: application / force-download");
header (. "Content-Disposition: attachment; filename =" basename ($ file));
header ("Content-Description: File Transfer");
@ readfile ($ file);
?>