ok im trying to use ftp_get but i dont know what else to put with it. the end result should be downloads.php?id=somefile and that would get me somefile.zip
<?php
$id = ($_GET['id']);
$location = ('files/'.$id.'.zip');
$name = (''.$id.'.zip');
header("Content-Type: application/save");
header("Content-Disposition: attachment; filename=$name");
ftp_get($location);
?>
i know there has to be more with ftp_get but i dont know what.