website logo
Auteur
avatar
Tito

Forum » » Le coin des codeurs » » Forcer le téléchargement d'un fichier - problème


Posté : 24-01-2006 22:10 icone du post


<?php
header
("!content-type:! application/force-download");
header(
"!content-disposition:! attachment; filename=seq1.wav< /font>");
readfile(
"./ess/seq1.wav");
?>


N'oublie pas d'enlever les points d'exclamation

Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=19052&forum=5