Webbsrv 1

Show sourcecode

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

webbsrvprg/

exercises/
exercises.php
img/
incl/
index.php
ovningar/
source.php
style/
viewsource.php

viewsource.php

19 lines UTF-8 Windows (CRLF)
<?php include ("incl/config.php");
$title = "Webbserv1: Källkod";
$pageId = "viewsource";

$sourceBasedir=dirname(__FILE__);
$sourceNoEcho=true;
include(
"source.php");
$pageStyle=$sourceStyle;
?>


<?php include("incl/header.php"); ?>

<div id="content">
<?php echo "$sourceBody"; ?>
<hr>
</div>

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