Webbserverprogrammering 1

Show sourcecode

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

Webserver1/

Media/
Ovningar/
comments.php
exercises.php
incl/
index.php
source.php
style/
viewsource.php

index.php

31 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

  
include("incl/config.php");
  
$title "Antons fantastiska index";
  
$pageId "start";
  
$pageStyle '
    figure = {
      border-radius: 10px;
      border-color: #333;
      box-shadow: 10px 10px 5px #888;
      }
      '
  
?>
  <?php include("incl/header.php"); ?>

  <!-- sidans huvudinnehåll  -->
  <div id="content">
    <article class="justify border">
      <h1>Start</h1>
      <img src="../Webutv1/Ovningar/Bilder/apa.jpg" width="200" alt="">
      <h1>Antons fantastiska index: Server Edition&trade; &copy; &#8471;</h1>

    </article>
  </div>
  <?php include("incl/footer.php"); ?>
</body>

</html>