Advertisement
Guest User

Untitled

a guest
Nov 17th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.42 KB | None | 0 0
  1. <?php
  2.  
  3. if (!isset($_POST['user']) && isset($_POST['pass'])) {
  4.     if (user = "cj" && pass = "cjwithbigsmoke") {
  5.         echo "Wellcome <b>CJ</b>, to Grove Street.";
  6.     }
  7.     else {
  8.         echo "Your are not <b>CJ</b>.Go Back homie.";
  9.     }
  10. }
  11. ?>
  12.  
  13. <form action="" action="POST">
  14.     <input type="text" name="user" placeholder="username">
  15.     <input type="text" name="pass" placeholder="********">
  16.     <input type="submit" name="Submit">
  17. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement