j'ai trouver ceci :
header("Content-disposition: attachment; filename=error.log");
header("content-type: text/plain");
header("Content-Transfer-Encoding: text/html\n");
header("Content-Length: " . filesize("$url"));
header("Pragma: no-cache");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0, public");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
readfile("$url");
mais sa ne fait qu'afficher mon fichier dans ma page php.
D'autres solution?
