<?php // Always header('Content-type: text/html; charset="utf-8"'); // Config require 'inc.functions.php'; require 'inc.config.php'; ini_set('date.timezone', 'Europe/Amsterdam'); error_reporting(E_ALL & ~E_STRICT); // Database require 'inc.db.php'; if (!$db) { header('HTTP/1.1 500 Connection error', true, 500); exit('Connection error'); } // Xnary require 'Xnary.php'; Xnary::$range = implode(range('A', 'Z')) . implode(range('0', '9'));