Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
readfile("".$folder."/".$file."");
$folder = "/Downloads/";
$file = "text.txt";
ob_end_clean();
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=$file");
readfile("$folder$file");
exit;
Oder meine Schreibweise, die ich gefunden habe;
PHP:$folder = "/Downloads/";
$folder = "Downloads";
ob_end_clean();
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=$file");
readfile("$folder/$file");
exit;