| sirdec | lundi 17 juin 2002 - 14h18 Bonjour, J'ai un script CGI qui offre une liste de lien pour le téléchargement. En cliquant sur le lien, la fenêtre de download apparait mais je télécharge un fichier de 0 Ko. Cependant ce script fonctionne très bien pour les fichiers en .zip . QQ pourrait -il m'aider ? D'avance Merci. Voici mes 2 scripts 1- J'ai un lien <a href="download.cgi?DL_Link=Demo.exe">DL</a> 2- $DL_Link=$query->param('DL_Link'); print <<"EOHMTL" Content-type: application/ octet-stream Content-type: application/ force-download Content-Disposition: attachment;filename=$DL_Link EOHTML ; |