Init Git Prod Mars 2026

This commit is contained in:
Oleg Barykin committed 2026-03-05 10:25:39 +01:00
commit d81efe93b1
362 files changed
+86627

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
<?php
header("Content-Type: text/plain"); // Assure un bon retour texte brut
require_once __DIR__ . '/../includes/bootstrap_global.php';
if (isset($_POST['email'])) {
$email = trim($_POST['email']);
$stmt = $pdo->prepare("SELECT id FROM compte WHERE email = :email");
$stmt->execute(['email' => $email]);
echo($stmt->fetch()) ? "existe" : "disponible";
exit;
}
echo "invalide";
exit;