Webbserverprogrammering 1

Show sourcecode

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

webbserverprogrammering/

.gitattributes
.gitignore
classes/
comments.php
credentials.env
dbconnect.php
envparser.php
exercises/
exercises.php
filefinder.php
img/
incl/
index-no-include.php
index.php
myexercises.php
source.php
style/
viewsource.php

myexercises.php

23 lines UTF-8 Windows (CRLF)
<?php
include("incl/config.php");

$title "Webbserv1: Övningar";
$pageId "viewsource";

// Include code from filefinder.php to display navigator
$sourceBasedir dirname(__FILE__);
$sourceNoEcho true;
include(
"filefinder.php");
$pageStyle $sourceStyle;
?>


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

<!-- Sidans/Dokumentets huvudsakliga innehåll -->
<div id="content">
    <?php echo "$sourceBody"?>
    <hr>
</div>

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