Webbserverprogrammering 1

Show sourcecode

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

webbsrvprg/exercises/

index.php
ovn1_gr.php
ovn2_fn.php
ovn3_inkl.php
ovn3_inklfil.php
ovn3_inklfil2.php
ovn3_inklsida1.php
ovn3_inklsida2.php
ovn3_inklsida3.php
ovn3_inklsidafil.php
ovn4_form.php
ovn4_mottagare.php
ovn4_mottagare2.php
ovn4_mottagare3.php
ovn4_mottagare4.php
quiz.php

ovn3_inkl.php

34 lines ASCII 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>
    1. 
    <?php
    
echo "Hejsansvejsan!";
    include 
"ovn3_inklfil.php";
    
?>
    <br>

    2.
    <a href="ovn3_inklsida1.php">sida 1</a>
    <a href="ovn3_inklsida2.php">sida 2</a>
    <a href="ovn3_inklsida3.php">sida 3</a>
    <br>

    3. 
    <?php
    
require "ovn3_inklfil2.php";
    echo 
random();
    
?>
    <br>

    4. 
    <?php

    ?>
</body>
</html>