Show sourcecode
The following files exists in this folder. Click to view.
form1.php
form2.php
form3.php
form4.php
form5.php
form6.php
form7.php
ovn_form1.html
ovn_form1.php
ovn_form2.htm
ovn_form2.php
ovn_form3.html
ovn_form3.php
ovn_form4.html
ovn_form4.php
ovn_form5.html
ovn_form5.php
ovn_form6.html
ovn_form6.php
ovn_form7.html
ovn_form7.php
ovn_form8.html
ovn_form8.php
form5.php
24 lines UTF-8 Windows (CRLF)
<!DOCTYPE html>
<html lang="en">
<body>
<?php
echo "Hej " . $_POST["name"] . " " . $_POST["aftername"] . " i " . $_POST["class"] . "!<br>";
echo "Du gillar maten " . $_POST["food"];
echo " <br>Din favorit kurs är " . $_POST["kurs"];
$meddelande = "Hej " . $_POST["name"] . " " . $_POST["aftername"] . " i " . $_POST["class"] . "!<br>"."Du gillar maten " . $_POST["food"] . " <br>Din favorit kurs är " . $_POST["kurs"];
$mottagare=$_POST["epost"];
$rubrik="PHP Mejltest";
$mejlhuvud="MIME-Version: 1.0\r\n";
$mejlhuvud.="Content-type: text/html; charset=utf-8\r\n";
$mejlhuvud.="From: ".$_POST["epost"]." \nReply-To: kalle@anka.se";
mail($mottagare, $rubrik, $meddelande, $mejlhuvud);
?>
</body>
</html>