Guest User

Untitled

a guest
Mar 2nd, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. <?php
  2.  
  3. //Global Variables
  4. $loggedIn = 0;
  5.  
  6. //Receive the form variables from the submitted form.
  7. $username = $_POST['username'];
  8. $password = $_POST['password'];
  9.  
  10. //Check the form boxes were filled in.
  11. if(empty( $username) || empty($password)){
  12. header( 'Location: members.php?message=Must Supply Username and Password');
  13. }
  14.  
  15. //More code below to check the pass etc which works ok
  16.  
  17. ?>
Add Comment
Please, Sign In to add comment