Advertisement
Guest User

Untitled

a guest
Jun 11th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.62 KB | None | 0 0
  1. <?php
  2.  
  3. include("myleagueAPI.php");
  4.  
  5. $submit = $_POST['submit'];
  6.  
  7. if($submit=='login'){
  8.    
  9. echo Login;
  10. echo Login($username, $password, 'ipoolers');
  11.  
  12.     // Read in POST variables
  13.     $username = $_POST['username'];
  14.     $password = $_POST['password'];
  15.  
  16.     // Perform checks on the data
  17.     // TODO
  18.  
  19.     // Finally login
  20.     Login($username, $password, 'ipoolers');
  21. }
  22.  
  23. echo '<div align="center"><form action="" method="post">';
  24. echo 'Username : <input type="text" name="username"><br><br>';
  25. echo 'Password : <input type="Password" name="password"><br><br>';
  26. echo '<input type="submit" name="login" value="register"></form></div>';
  27.  
  28. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement