Advertisement
Guest User

a

a guest
Jan 13th, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Login Menggunakan PHP dengan Teknik OOP</title>
  5. </head>
  6. <body>
  7. <div class="container">
  8. <h2>Login Menggunakan PHP dengan Teknik OOP</h2>
  9. <div class="row">
  10. <div class="col-sm-4">
  11. <form class="well" method="POST" action=" ">
  12. <label>Username : </label><input class="form-control" type="text" name="username" required>
  13. <label>Password : </label><input class="form-control" type="password" name="password" required>
  14. <div>&nbsp;</div>
  15. <input class="btn btn-info" type="submit" name="loginz" value="LOGIN">
  16. </form>
  17. </div>
  18. </div>
  19.  
  20. </body>
  21. </html>
  22. <?php
  23. class Login{
  24. public function __construct() {
  25.  
  26.  
  27.  
  28. if(isset($_POST["loginz"])){
  29.  
  30. }
  31. }
  32. public function loginxx()
  33. {
  34. echo "ga ngerti master";
  35. }
  36. }
  37. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement