Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include("myleagueAPI.php");
- $submit = $_POST['submit'];
- if($submit=='login'){
- // Read in POST variables
- $username = $_POST['username'];
- $password = $_POST['password'];
- // Perform checks on the data
- // TODO
- // Finally login
- echo Login($username, $password, 'ipoolers');
- }
- echo '<div align="center"><form action="" method="post">';
- echo 'Username : <input type="text" name="username"><br><br>';
- echo 'Password : <input type="Password" name="password"><br><br>';
- echo '<input type="submit" name="submit" value="login"></form></div>';
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement