Misc-small-projects/blomzt/main.php

24 lines
307 B
PHP
Raw Normal View History

<?php
2016-05-14 23:35:09 +02:00
$config = parse_ini_file('config.ini');
$conn = mysqli_connect($config['db_host'], $config['db_user'], $config['db_password'], 'blomzt');
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
?>
<html>
<head>
2016-05-14 23:35:09 +02:00
<title>Blomzt</title>
</head>
<body>
</body>
</html>