0) { header('Content-disposition: attachment; filename='.$publication['nom_file']); header('Content-Type: application/force-download'); header('Content-Transfer-Encoding: fichier'); header('Content-Length: '.filesize(DIR_PUBLICATION_PDF.$publication['nom_file'])); header('Pragma: no-cache'); header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); header('Expires: 0'); readfile(DIR_PUBLICATION_PDF.$publication['nom_file']); } else { // le code n'existe pas } } ?>