Webbserverprogrammering 1

Show sourcecode

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

ramverket/exercises/include/

ovn_incl1.php
ovn_incl2-1.php
ovn_incl2-2.php
ovn_incl2-3.php
ovn_incl3-1.php
ovn_incl3-2.php
ovn_incl3-3.php
ovn_incl4-1.php
ovn_incl4-2.php
ovn_incl4-3.php

ovn_incl1.php

23 lines ASCII Windows (CRLF)
<?php
  
// Title: Include 1
  
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 1</title>
</head>
<body>
  <?php
    
echo "<p>Halloj!</p>";
    include(
"../../incl/ovn_incl1.php");
    include(
"../../incl/ovn_incl1.php");
    include(
"../../incl/ovn_incl1.php");
  
?>
</body>
</html>