|
|
|
Configuration: Windows XP Internet Explorer 7.0
Yop, bien sur, seulement ton fichier devra être uploadé au préalable sur le serveur et ses droits configurés (chmod 777 sous unix, même fonction en php).
$name=fichier.pdf; //emplacement sur ton serveur $file="http://www.tonserveur.com/upload/".$name; header("content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=".$name); flush(); readfile($file); header("Location:".$file); |
| 25/01 16h56 | PHP Lien download.php?id=123 Comment en créer | Webmastering | 26/01 03h10 | 12 |
| 01/02 01h52 | [php] Probleme ouverture fichier downloadé php | Webmastering | 07/04 17h35 | 5 |
| 09/07 10h26 | [PhpmyAdmin] Accès en poste client | Windows | 09/07 17h20 | 1 |
| 07/05 20h48 | [Bittorrent]Client en php/mysql | Programmation | 09/05 17h59 | 3 |