Advertisement
7andre

Untitled

Mar 30th, 2018
4,783
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <?php
  2. session_start();
  3.  
  4. $username = $_POST['username'];
  5. $password = base64_encode($_POST['password']);
  6.  
  7. $_SESSION['username'] = $username;
  8. header('location:home.php');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement