Location: PHPKode > projects > PHPExplorer > modules/download.php
<?
require_once("../include/varsfuncs.php");

if(!$get||!file_exists($get)){
include("$instp/skins/$sk/msg_jump/_code_err_down.php");
 }else{
header("Content-type: application/octet-stream");
header("Content-Disposition: Attachment; filename=$fname");
$fp=fopen($get,"rb");
 while(!feof($fp)) print(fread($fp,512));
}
?>
Return current item: PHPExplorer