Implementierung

This commit is contained in:
2026-06-25 22:46:14 +02:00
parent d5a3f4298f
commit 4f524db221
5 changed files with 109 additions and 10 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
$token = basename($_GET["token"] ?? "");
$file = "data/mails/" . $token . ".html";
if (!file_exists($file)) {
echo "<p>Datei nicht gefunden.</p>";
exit();
}
?>
<main class="login-page">
<div class="login-container">
<h1>Simulierte E-Mail</h1>
<?php include $file; ?>
</div>
</main>