diff --git a/enforce_ip.template b/enforce_ip.template deleted file mode 100644 index 796490f..0000000 --- a/enforce_ip.template +++ /dev/null @@ -1,12 +0,0 @@ -if ($_SESSION['user_ip']!=$_SERVER['REMOTE_ADDR']){ - // force logout - $_SESSION = array(); - if (ini_get("session.use_cookies")) { - $params = session_get_cookie_params(); - setcookie(session_name(), '', time() - 42000, $params["path"], $params["domain"], $params["secure"], $params["httponly"]); - } - session_destroy(); - header("Location: https://lostcave.ddnss.de/common/threadr/login/?error=session"); - die(); -} - diff --git a/my_brain_clipboard b/my_brain_clipboard deleted file mode 100644 index ad1e44a..0000000 --- a/my_brain_clipboard +++ /dev/null @@ -1,34 +0,0 @@ -username -email -password -password_confirm - - -TABLE `web`.`profiles` -( `id` SMALLINT NOT NULL , - `email` VARCHAR(100) NOT NULL , - `real_name` VARCHAR(40) NULL , - `status` VARCHAR(200) NULL , - `about` VARCHAR(2000) NULL - ) ENGINE = InnoDB; - - - - Todo: - -if logged in -home is userhome -else -home is home - -if logged in -login is logout -else -login is login - - -navbar = %NAVBAR% and highlighted field gets selected by a variable - -save everything in a db instead of a session cookie - or encrypt session cookie data - -logout user after signing up a new one