Webbserv1: Källkod
Webbserverprogrammering 1

Show sourcecode

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

webbsrvprg/

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

index.php

48 lines UTF-8 Windows (CRLF)
<!DOCTYPE html>
<html>
<body>


<?php
// show all error reporting
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

// time page generation, display in footer. 
$pageTimeGeneration microtime(true); 

// useful constants
// useful functions

include("incl/config.php");
$title "Webbserv1 :Start";
$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>
    <figure class="right top">
        <img src="img/jagohelge.jpg" alt="Per o helge">
        <figcaption>
            <p>Per med kompisen Helge</p>
        </figcaption>
    </figure>
    <p>Hej och välkommen till Per's samlingssida i kursen 
    webbserverprogrammering 1.        
    </p>

</article>
</div>

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