Are you sure you want to delete the folder = htmlspecialchars($folderName); ?> and all its contents?
Folder does not exist.";
}
}
if (isset($_GET["action"]) && $_GET["action"] === "chmodfile" && isset($_GET["file"])) {
$filePath = rtrim($_GET["path"], "/\\") . "/" . $_GET["file"];
if (file_exists($filePath) || is_writable($filePath)) {
?>
File does not exist or is not writable.";
}
}
if (isset($_GET["action"]) && $_GET["action"] === "chmodfolder" && isset($_GET["folder"])) {
$folderPath = rtrim($_GET["path"], "/\\") . "/" . $_GET["folder"];
if (is_dir($folderPath) || is_writable($folderPath)) {
?>
Folder does not exist or is not writable.";
}
}
?>