Location: PHPKode > projects > CoreAsset > coreasset/download.php
<?php
if(isset($_REQUEST['act']))
{
	$fn		= $_REQUEST['act'];
	if(file_exists($fn))
	{
	header("Content-type: application/vnd.ms-excel");
	header("Content-Disposition: attachment; filename=$fn");
	readfile("$fn");
	}
//redirect("export.php","1");
}
echo "<script language='Javascript'>location='export.php';</script>";
?>
Return current item: CoreAsset