Webbsrv 1

Show sourcecode

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

webbsrvprg/exercises/ovning3/

ovning3_inc1a.php
ovning3_inc1b.php
ovning3_inc2a.php
ovning3_inc2b.php
ovning3_inc2c.php
ovning3_slut.php
ovning3_start.php

ovning3_inc2c.php

26 lines UTF-8 Windows (CRLF)
<?php
error_reporting
(-1); // Report all type of errors
ini_set('display_errors', 1); // Display all errors
ini_set('output_buffering', 0); // Do not buffer outputs, write directly
?>

<!DOCTYPE html>
<html lang="sv">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Övning 3.2</title>
    <style>
      footer {
        text-align: center;
        border-top: 1px solid black;
      }
    </style>
  </head>
  <body>
    <?php $sida = "Sida 3";
    include 
"ovning3_start.php" ?>
    <h3>blablabla<h3>
    <?php include "ovning3_slut.php" ?>
  </body>
</html>