This commit is contained in:
2025-02-01 20:52:33 +05:30
parent b4001596d3
commit a5a54ccbdc
29277 changed files with 3016189 additions and 193 deletions

19
htdocs/dashboard.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
session_start();
if (!isset($_SESSION['user_id'])) {
header("Location: login.php");
exit();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dashboard</title>
</head>
<body>
<h2>Welcome, <?php echo $_SESSION['user_name']; ?>!</h2>
<p>Email: <?php echo $_SESSION['user_email']; ?></p>
<a href="logout.php">Logout</a>
</body>
</html>