<?php$namefile = htmlspecialchars(str_replace("/","",$_GET['name'])); $file = ("".$conf['homeurl']."/uploads/".$_GET['mod']."/".$namefile."");Header("Content-Type: application/force-download"); Header("Content-Range: bytes"); Header("Content-Length: ".filesize($file).""); Header("Content-Disposition: attachment; filename=".$namefile.""); readfile($file);?>