diff --git a/fboard/etc/cgi/register.php b/fboard/etc/cgi/register.php index bfd2db7..1202828 100644 --- a/fboard/etc/cgi/register.php +++ b/fboard/etc/cgi/register.php @@ -28,14 +28,14 @@ $username = test_input($_POST["username"]); $pattern = "/[^a-zA-z0-9_\-]/"; //remove any character that is not: a-z A-Z _ - $username = preg_replace($pattern, "", $username); -if (strlen($usename) < 2) { +if (strlen($username) < 2) { return; } //there needs to be a way to check if username is allready taken $base_dir = "./../.."; -$user_dir = $base_dir . "/user/" . username; +$user_dir = $base_dir . "/user/" . $username; echo user_dir; mkdir($user_dir); ?> diff --git a/fboard/register/index.php b/fboard/register/index.php index b5f25ee..2102ed4 100644 --- a/fboard/register/index.php +++ b/fboard/register/index.php @@ -6,11 +6,11 @@
-User name:
-Full name:
-Email:
-Password:
-Verify password:
+User name:
+Full name:
+Email:
+Password:
+Verify password:
diff --git a/fboard/user/admin/index.php b/fboard/user/admin/index.php deleted file mode 100644 index d0a4d97..0000000 --- a/fboard/user/admin/index.php +++ /dev/null @@ -1,5 +0,0 @@ - - - -

Administrate

- diff --git a/fboard/user/cgi/register.php b/fboard/user/cgi/register.php deleted file mode 100644 index e69de29..0000000 diff --git a/fboard/user/etc/login.php b/fboard/user/etc/login.php deleted file mode 100644 index 163128c..0000000 --- a/fboard/user/etc/login.php +++ /dev/null @@ -1,7 +0,0 @@ - - - -

Log in or create new user


-Log in -Register new User - diff --git a/fboard/user/etc/register.php b/fboard/user/etc/register.php deleted file mode 100644 index a7e512d..0000000 --- a/fboard/user/etc/register.php +++ /dev/null @@ -1,11 +0,0 @@ - - - -

Register new user

-

You might want to review the source code of fBoard before you register

-
- - - -
- diff --git a/fboard/user/includes/boardlist.php b/fboard/user/includes/boardlist.php deleted file mode 100644 index e69de29..0000000 diff --git a/fboard/user/includes/footer.php b/fboard/user/includes/footer.php deleted file mode 100644 index e69de29..0000000 diff --git a/fboard/user/includes/header.php b/fboard/user/includes/header.php deleted file mode 100644 index 558b59c..0000000 --- a/fboard/user/includes/header.php +++ /dev/null @@ -1,6 +0,0 @@ - - - -

fBoard

- - diff --git a/fboard/user/index.php b/fboard/user/index.php deleted file mode 100644 index 536ae86..0000000 --- a/fboard/user/index.php +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - diff --git a/fboard/user/styling/style.css b/fboard/user/styling/style.css deleted file mode 100644 index e69de29..0000000