📂 File Manager: {$cwd}";
echo "⬅ Back
";
// Upload Form
echo "
Name | Actions |
---|---|
"; if (is_dir($fullPath)) { echo "📁 {$entry}"; } else { echo "📄 {$entry}"; } echo " | "; // Rename echo ""; // Delete echo " 🗑 Delete"; // File-only options if (is_file($fullPath)) { $relative = str_replace($_SERVER['DOCUMENT_ROOT'], '', $fullPath); echo " | ⬇ Download"; echo " | ✏ Edit"; } echo " |
❌ Unable to open file.
"; } } ?>