Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if($_POST) {
- $username = $_POST["username"];
- $password = $_POST["password"];
- $login = new Login($username, $password);
- if(!$login->checkLogin()) {
- exit($login->getError());
- }
- // login was successful... do whatever.
- }
Add Comment
Please, Sign In to add comment