logoWebbserverprogrammering 1

Show sourcecode

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

webbserv1-dice/incl/

common.php
config.php
footer.php
header.php

config.php

16 lines ASCII Unix (LF)
<?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

// start a named session
session_name(preg_replace('/[:\.\/-_]/', '', __FILE__));
session_start();

// time page generation, display in footer. comment out to disable timing.
$pageTimeGeneration = microtime(true); 

include(
"common.php");