Advertisement
Guest User

Untitled

a guest
May 20th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. <?php
  2.  
  3. /* LOGIN CLASS */
  4. class Login
  5. {
  6.     public $username = $_POST['Username'];
  7.     public $password = $_POST['Password'];
  8. }
  9.  
  10. if (isset($_POST['Submit']) && $_POST['Submit']=='Submit')
  11. {
  12.     $login = new Login();
  13.     echo 'Username: '.$username;
  14.     echo '<br/>';
  15.     echo 'Password: '.$password;
  16. }
  17.  
  18. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement