commit | 658fae54acbd0cfa8b5b985a3e90709d1f0f57c9 | [log] [tgz] |
---|---|---|
author | avm99963 <jocdeladria@gmail.com> | Sun Oct 08 23:09:16 2017 +0200 |
committer | avm99963 <jocdeladria@gmail.com> | Sun Oct 08 23:09:16 2017 +0200 |
tree | f1b336c57f713a99de375ac5de6f7174520c3370 | |
parent | f0d15210806790b3f632f78a2193fbc160d9a45b [diff] [blame] |
First beta version ready
diff --git a/graf.php b/graf.php index ed44ecb..56cf71b 100644 --- a/graf.php +++ b/graf.php
@@ -1,3 +1,18 @@ +<?php +require_once("config.php"); + +session_start(); + +if (!isset($_POST["password"])) { + header("Location: login.php"); + exit(); +} + +if ($_POST["password"] != "forallexists") { + header("Location: login.php?msg=wrong"); + exit(); +} +?> <!DOCTYPE html> <html> <head>