Webbserverprogrammering 1

Show sourcecode

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

webbsrvprg/exercises/include/

include_1.php
include_2_bottom.php
include_2_rnd_nr.php
include_2_top.php
index.php
ovn_in1.php
ovn_in2-4_sid1.php
ovn_in2-4_sid2.php
ovn_in2-4_sid3.php
ovn_in2_sid1.php
ovn_in2_sid2.php
ovn_in2_sid3.php

ovn_in1.php

23 lines ASCII 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>Include</title>
</head>
<body>
<?php
echo("Hej svejs!");
include(
"include_1.php");
include(
"include_1.php");
include(
"include_1.php");
?>

</body>
</html>