Cita:
Iniciado por eits prueba con esto
$file='XXXXXXXXX'; // Nombre del fichero
header ('Content-Disposition: attachment; filename='.$file.';' );
header ('Content-Type: application/force-download');
saludos.
Te faltò un:
readfile($file);
Despues de las cabeceras HTTP (enviadas por header())
Un saludo,