1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
PHP_TP2/header.php

20 lines
467 B
PHP
Raw Normal View History

2020-09-12 14:31:17 +02:00
<?php
CONST DEBUG = true;
require("db.php");
function databaseError(Exception $e) {
if (DEBUG)
die("Error: " . $e->getMessage());
echo "<p><strong>An error occurred with the database, please contact an administrator</strong></p>";
}
session_name("p1905458");
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hello World 4</title>
</head>
<body>