Added full user authentication system: register/login with validation, bcrypt, reCAPTCHA integration, session handling, and new landing page with animated form switcher.

This commit is contained in:
Dr3amFury
2025-07-29 19:22:49 +02:00
parent a2af4c3d1a
commit 08a5cead74
6 changed files with 159 additions and 57 deletions

View File

@@ -1,4 +1,12 @@
<?php include($_SERVER['DOCUMENT_ROOT'] . '/inc/php/header.php');
<?php
session_start();
if (!isset($_SESSION['user_id'])) {
header("Location: /landing.php");
exit();
}
include($_SERVER['DOCUMENT_ROOT'] . '/inc/php/header.php');
require_once($_SERVER['DOCUMENT_ROOT'] . '/db.php');
$conn = getConnection();?>