1/05/26 V.20

This commit is contained in:
Flatlogic Bot 2026-01-05 10:25:17 +00:00
parent f87d8bee23
commit 16acaf4771
11 changed files with 242 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
node_modules/
*/node_modules/
*/build/
sessions/

View File

@ -75,7 +75,7 @@ try {
exit;
}
$to = getenv('MAIL_TO') ?: 'default-recipient@example.com'; // Fallback recipient
$to = getenv('MAIL_TO');
$subject = 'New FinMox Beta Application';
$htmlBody = ""

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

@ -1,4 +1,5 @@
<?php
ini_set('session.save_path', __DIR__ . '/sessions');
session_start();
if (!isset($_SESSION['user'])) {

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,5 @@
<?php
ini_set('session.save_path', __DIR__ . '/sessions');
session_start();
// Hardcoded credentials for demonstration.
@ -17,6 +18,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$response['message'] = 'Please enter both email and password.';
} elseif ($email === $valid_email && $password === $valid_password) {
$_SESSION['user'] = ['email' => $email];
session_write_close(); // Force session to save
$response['success'] = true;
} else {
$response['message'] = 'Invalid credentials.';

5
test_php.php Normal file
View File

@ -0,0 +1,5 @@
<?php
echo "<h1>PHP is working!</h1>";
phpinfo();