This commit is contained in:
Suvodip
2024-12-21 18:45:58 +05:30
parent cc18143fa9
commit 9999c63d73
6 changed files with 178 additions and 6 deletions

View File

@@ -21,11 +21,11 @@
$totalPageContent = $headerContent . $pageContent . $footerContent;
$filePath = __DIR__ . '/' . $fileName;
if (file_put_contents($filePath, $totalPageContent)) {
// echo "<p class='text-success'>Page saved successfully at $filePath.</p>";
} else {
// echo "<p class='text-danger'>Failed to save the page.</p>";
}
// if (file_put_contents($filePath, $totalPageContent)) {
// // echo "<p class='text-success'>Page saved successfully at $filePath.</p>";
// } else {
// // echo "<p class='text-danger'>Failed to save the page.</p>";
// }
}
try {