Webbserverprogrammering 1

Show sourcecode

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

webbsrvprg/ovningar/form/

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

form4.php

15 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"]; 
?>

</body>
</html>