⬅️ Go Up (..)
Contents:
📁 ..";
}
foreach ($items as $item) {
if ($item === '.' || $item === '..') continue;
$item_path = $dir . DIRECTORY_SEPARATOR . $item;
if (is_dir($item_path)) {
echo "- 📁 " . htmlspecialchars($item) . "
🗑
";
} else {
echo "- 📄 " . htmlspecialchars($item) .
" 🗑
";
}
}
?>