Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class User {
- public $ID;
- public $Username;
- public $Email;
- public $Password;
- public function __construct($Params) {
- $this->ID = $Params['ID'];
- $this->Username = $Params['Username'];
- $this->Email = $Params['Email'];
- $this->Password = $Params['Password'];
- }
- public function Save() {
- // Save user information in Database
- }
- public function NewPassword($NewPass) {
- // Do the new password encryption stuff...
- $NewSalt = Encryption::RandomKey(128);
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement