Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once 'includes/parabola.inc.php';
- if ($user->loggedin() != "")
- {
- redirect("dashboard.php");
- }
- if (isset($_POST['login']))
- {
- $username = $_POST['txt_username'];
- $password = $_POST['txt_password'];
- if ($user->login($username, $password))
- {
- redirect("dashboard.php");
- }
- else
- {
- $error = "Invalid Username and/or Password!";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement