diff --git a/secure.php b/secure.php deleted file mode 100644 index b1f0d52..0000000 --- a/secure.php +++ /dev/null @@ -1,48 +0,0 @@ - - - -Secure Area - - - - -login'); -} -$username = $_SESSION['username']; -$activated = $_SESSION['activated']; -$isadmin = $_SESSION['isadmin']; - -echo "Hi ".$username."!"; -if(isset($_GET['activation_req'])) { - echo '
'; -} -?> -

- -

-'; -} -if ($activated == 1) { - echo ''; -} -?> -

- - -


-'; -} -if ($isadmin == 1) { - echo ''; -} -?> - - - diff --git a/start.php b/start.php index e6445ba..2383b2d 100644 --- a/start.php +++ b/start.php @@ -1,6 +1,8 @@ @@ -41,7 +43,10 @@ $userid = $_SESSION['userid']; } ?> - + Your account isnt activated yet!
'; +}?>

loginpagefoo POC (PHP & MySQL)

Just a crappy POC written in PHP using PHP, HTML & MySQL.

@@ -91,7 +96,13 @@ $userid = $_SESSION['userid']; - + '; +} +if ($activated == 1) { + echo ''; +}?>
- + '; +} +if ($isadmin == 1) { + echo ''; +} +?>