Add exams from exam156 to exam199

This commit is contained in:
2024-05-16 10:51:54 +02:00
parent 19bf1b8ac8
commit 959a167e9d
29 changed files with 635 additions and 0 deletions

27
exam164/index.php Executable file
View File

@@ -0,0 +1,27 @@
<?php
session_start();
if(!isset($_POST['secure'])){
$_SESSION['secure'] = rand(1000, 9999);
}else {
if($_POST['secure'] == $_SESSION['secure']){
echo 'You are not robot';
} else {
echo 'Try again';
$_SESSION['secure'] = rand(1000, 9999);
}
}
?>
<br>
<img src="generate.php"/><br>
<form action="index.php" method="POST">
Write a number from picture:
<input type="text" size="6"name="secure">
<input type="submit" value="Submit">
</form>