Stephan Zesiger
Erfahrenes Mitglied
hast du dir einen server eingerichtet, Geist?
Coole sache
Coole sache
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.
<?php
$a = opendir('verzeichnis');
$fileArray = array();
while ($file = readdir ($a)) {
if ($file != '.' && $file != '..') {
$arr_length = array_push($fileArray, 'verzeichnis/' . $file);
}
}
foreach ($fileArray as $value) {
$fs = filesize($value)/1024;
echo 'Größe der Datei ' . $value . ': ' . round($fs, 2) . ' kB<br>';
}
echo '<br>Ordnerinhalt: ' . $arr_length . ' Dateien';
closedir($a);
?>