header("Content-Description: File Transfer");
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question<?php header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header ("Last-Modified: " . gmdate("D,d M YH:i:s") . " GMT"); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header("Content-Type: application/force-download"); header('Pragma: no-cache'); header ("Content-type: application/zip"); header ("Content-Disposition: attachment; filename="".$fileName.""" ); header("Content-Length: ".filesize($fileName)); readfile($fileName); ?>