mira el archivo es este:
Código PHP:
<?php
$carpeta ="descargas";
$id = $_GET['id'];
$enlace = $carpeta."/".$id;
header ("Content-Disposition: attachment; filename=".$id."\n\n");
header ("Content-Type: application/octet-stream");
header ("Content-Length: ".filesize($enlace));
readfile($enlace);
?>
como hago lo que me dices???