Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include "dblogin.php";
- if (isset($_POST['submitlogin'])) {
- if (($_POST['username']) && ($_POST['password'])) {
- $username = $_POST['username'];
- $password = $_POST['password'];
- if ($username==($db_user||$db_user2)&&$password==$db_pass) {
- $_SESSION['login'] == 1;
- if (isset($_POST['submitimg']) && $_SESSION['login'] == 1) {
- //* A lot of code *\\
- } ?>
- //* The session_start() is placed above the html tag. *\\
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement