Quote:
Originally Posted by Seth
Google for mod_rewrite
|
not neceseraly to use mod rewite.. u can just use download_atachment..
in download.php just modify it to:
if ($GLOBALS["DOWNLOAD_METHOD"] == DOWNLOAD_ATTACHMENT) {
header("Pragma: private");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Content-Disposition: attachment; filename=\"".
$row["save_as"].".torrent\"");
where save_as must exist in your database or just modifiy it with
$row["name"]
regards