Kamery

[insert_php]
$path = „NVS/10.10.10.117/“.date(‚Y-m-d‘).“/001/“.date(„H“, strtotime(„+ 1 hour“));

$latest_ctime = 0;
$latest_filename = “;

$d = dir($path);

while (false !== ($entry = $d->read())) {
$filepath = „{$path}/{$entry}“;
if (is_file($filepath) && filectime($filepath) > $latest_ctime) {
$latest_ctime = filectime($filepath);
$latest_filename = $entry;
}
}

echo „„;
[/insert_php]