'ǝɯɐu$ ıɥ
ich habe mal wieder eine kleine Frage. Wie biete ich PHP Dateien zum Download an ohne daraus ein zip zu machen?
z.b. mittels PHP:
der downloadlink wäre dann zb <a href="downloads/bericht.php" title="">Download Bericht (PDF ca. 0.46 MB)</a>
und in der bericht.php steht folgendes:
<?php
header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="bericht.pdf');
readfile('bericht.pdf');
?>
ssnɹƃ
ʍopɐɥs
--
Answers: $1, Short: $5, Correct: $25, dumb looks are still free ...
Answers: $1, Short: $5, Correct: $25, dumb looks are still free ...