Show sourcecode
The following files exists in this folder. Click to view.
formulärsvar.php
incl/
kakan3.php
sida1.php
sida2.php
sida3.php
uppg-cookiesession1.php
uppg-cookiesession2.php
uppg-cookiesession3.php
uppg-form1.php
uppg-formulär1.php
uppg-formulär2.php
uppg-formulär4.php
uppg-funk.php
uppg-inklFiler.php
uppg1-5.php
välkomst.php
formulärsvar.php
22 lines ASCII Windows (CRLF)
<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bridge of death</title>
</head>
<body>
<h1>Did you survive?</h1><br><br>
<?php
echo 'Your name is '.$_POST["namn"].'<br>Your quest is '.$_POST["quest"].'<br>Your favourite colour is '.$_POST["fav_colour"].'<br><br><br>';
?>
<?php
if ($_POST["namn"] == "Lancelot" and $_POST["fav_colour"] == "Blue" and $_POST["quest"] == "Grail") {
echo 'You answered all my questions three correctly!<h3>YOU SURVIVED, SIR LANCELOT!!!!</h3>';
}
else {
echo "Brambling buffoon! You did not manage to solve my questions three!<h3>YOU DIED!!!!! :D</h3>";
}
?>
</body>
</html>