20 lines
No EOL
467 B
PHP
20 lines
No EOL
467 B
PHP
<?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>
|