Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
while (!feof($handle)) {
$contents .= fread($handle, 4096);
}
Note: If you just want to get the contents of a file into a string, use [phpf]file_get_contents[/phpf] as it has much better performance than the code above.
$content = fread($handle, filesize($filname))