Advertisement
Guest User

Untitled

a guest
Aug 8th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <?php
  2.  
  3. if (!isset($_POST['submit'])) {
  4.  
  5. $username = $_POST['username'];
  6. $password = $_POST['password'];
  7.  
  8. if(!empty($username)) {
  9. echo "You need to fill out a username.";
  10.  
  11. if(!empty($password)) {
  12. echo "You need to fill out the password.";
  13.  
  14. if(password=="123brandonsmith101")
  15. echo "Success";
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement