Show sourcecode
The following files exists in this folder. Click to view.
index.html
ovn_form1.php
ovn_form2.php
ovn_form3.php
ovn_form4.php
ovn_form5.php
ovn_form6.php
ovn_form7.php
ovn_form8.php
svar.php
svar3.php
svar4.php
svar5.php
svar6.php
svar7.php
svarget.php
svar5.php
19 lines UTF-8 Windows (CRLF)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<?php
$meddelande = "Hej ".$_POST["name"] . " ". $_POST["surname"]. " i " .$_POST["class"]. "! <br> Du gillar " .$_POST["fotbollslag"]. "! <br>". "Ditt favoritäme är ". $_POST["amne"];
$mottagare=$_POST["epost"];
$rubrik="PHP Mejltest";
$mejlhuvud="From: ".$_POST["epost"]." \nReply-To: danieleh@varmdogymnasium.se";
mail($mottagare, $rubrik, $meddelande, $mejlhuvud);
echo "<p>SKICKAT till ".$_POST["epost"]."</p>";
echo "<p>================================</p>";
?>
</body>
</html>