Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
Имаш +1 ... въпрос: под всички браузъри ли работи? и защо е това: @readfile($file);?raiden каза:Може да му дадеш force download с PHP
Нещо такова:
<?php
$file = $_GET['file'];
header("Content-Description: File Transfer");
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=".basename($file));
@readfile($file);
?>
И после към този файл подаваш GET променлива file:
?file=image.jpg