Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* LOGIN CLASS */
- class Login
- {
- public $username = $_POST['Username'];
- public $password = $_POST['Password'];
- }
- if (isset($_POST['Submit']) && $_POST['Submit']=='Submit')
- {
- $login = new Login();
- echo 'Username: '.$username;
- echo '<br/>';
- echo 'Password: '.$password;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement