Advertisement
Guest User

Untitled

a guest
Jun 8th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. <html>
  2. <body>
  3. <form method="post" action="login1.php" >
  4.     Username: <input type="text" name="username" />
  5.     Password: <input type="text" name="password" />
  6. <input type="submit" />
  7. </form>
  8. </body>
  9. </html>
  10.  
  11. //LOGIN1.PHP
  12.  
  13. <?php
  14. if (isset($_POST["username"]))
  15.   echo "sup " . $_POST["username"] . "<br />";
  16. else
  17.   echo "login sir";
  18. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement