ho fatto una ricerca sul forum e ho letto che bisogna aggiungere questo, però a me non funziona.

Codice PHP:
<?    
header
('Content-type: application/pdf');
header('Content-Disposition: attachment; filename='.$file);
readfile($file);
?>