Webbserverprogrammering 1

Show sourcecode

The following files exists in this folder. Click to view.

webbsrvprg/exercises/

cookie.php
extra.php
formulär.php
index (2).php
index.php
inklud1.php
inklude/
inklude2.php
inlogg.php
medeltal.php
ovn_1.php
ovn_2.php
ovn_4.php
resultat.php
resultat2.php
resultat3.php
session.php
sid1.php
sid2.php
sid3.php
sidslut.php
sidstart.php
textfeedback.php
textstreng.php
valkommen.php

resultat.php

17 lines ASCII Windows (CRLF)
<!DOCTYPE html>
<html>
<head>
    <title>Resultat</title>
</head>
<body>
<?php
$fornamn 
= $_POST["fornamn"];
$efternamn = $_POST["efternamn"];
$klass = $_POST["klass"];
$mat = $_POST["mat"];

echo 
"Hej " . $fornamn . " " . $efternamn . " i " . $klass . "! ";
echo 
"Du gillar " . $mat . "!";
?>
</body>
</html>