Voilà, une réponse je pense qui de conviendra :
- <?php
- header("Content-disposition: attachment; filename=$fichier");
- header("Content-Type: application/force-download");
- readfile($fichier);
- ?>
Avec $fichier ton nom de fichier
Voir http://www.phpcs.com/codes/FORCER-TELECHARGEMENT_21278.aspx pour plus information.
Lefter 