From f5173250952ecf9b8a14cca75f95b9c9fb6c4fa1 Mon Sep 17 00:00:00 2001 From: nockiro Date: Sat, 18 Mar 2017 13:12:46 +0100 Subject: [PATCH] - initial import - more or less --- .gitignore | 2 ++ core/dbconnect.php | 14 ++++++++++++++ index.php | 10 ++++++++++ 3 files changed, 26 insertions(+) create mode 100644 .gitignore create mode 100644 core/dbconnect.php create mode 100644 index.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..db3b703 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/nbproject/private/ +/nbproject diff --git a/core/dbconnect.php b/core/dbconnect.php new file mode 100644 index 0000000..86a087d --- /dev/null +++ b/core/dbconnect.php @@ -0,0 +1,14 @@ +connect_errno) { + printf("Connect over mysqli failed: %s\n", $mysqli->connect_error); + exit(); +} +?> diff --git a/index.php b/index.php new file mode 100644 index 0000000..9709142 --- /dev/null +++ b/index.php @@ -0,0 +1,10 @@ + + + + + + + + + +