quiz-klapek/test/single/single.php
2025-06-01 20:52:43 +02:00

12 lines
No EOL
353 B
PHP

<?php
include $_SERVER["DOCUMENT_ROOT"] . "/php/scripts.php";
if (!checkLogin()) {
jsonMsg("Nie jesteś zalogowany");
exit();
}
if ($_SERVER['REQUEST_METHOD'] == "POST" && isset($_POST["generateQuestion"])) {
} else if ($_SERVER['REQUEST_METHOD'] == "POST" && isset($_POST["checkQuestion"])) {
} else
jsonMsg("Nieprawidłowy request");