Webbserverprogrammering 1

Show sourcecode

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

webbsrvprg/exercises/inkludera/

inkludera_filer1.php
inkludera_filer2.php
inkludera_filer3.php
inkludera_filer4.php
sida1.php
sida2.php
sida3.php
sidslut.php
sidstart.php

inkludera_filer1.php

19 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>Hejsvejs include</title>
</head>
<body>
    <?php
        
echo "Halloj!<br>";
        include 
__DIR__ . "/../../txt_filer/hej_svejs.txt";
        echo 
"<br>";
        include 
__DIR__ . "/../../txt_filer/hej_svejs.txt";
        echo 
"<br>";
        include 
__DIR__ . "/../../txt_filer/hej_svejs.txt";
        echo 
"<br>";
    
?>
</body>
</html>