Chris: Download automatisch starten

Beitrag lesen

Hi

so müsste es gehen:

<?
$file = "test.doc";
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename="$file"");
readfile($file);
?>

Tipp:
http://www.dclp-faq.de/q/q-datei-download.html

greetz