Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- $user="user";
- $pass="password";
- $page_to="https://ghome.cloud/";
- if(isset($_POST['user']) && isset($_POST['pass']))
- {
- if( $_POST['user']==$user && $_POST['pass']==$pass)
- {
- $_SESSION['isLogged']="true";
- header("Location:".$page_to);
- }
- else
- {
- header("Location:login.php?error_login=1");
- }
- }
- else
- {
- header("Location:login.php?error_login=1");
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement