<?php/*Made by: XanzaDon't forget to stop by the forumshttp://crazy-coderz.net/forum/*/session_cache_limiter('none'); //*Use before session_start()session_start();$file = $_GET['f']; //useage: script.php?f=filename.extention_Download("files/".$file, $file); //filename.extention must be the same as the filename in the /files/ directory.function _Download($f_location,$f_name){ header ("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Length: ' . filesize($f_location)); header('Content-Disposition: attachment; filename=' . basename($f_name)); readfile($f_location); }?>