Can someone explain what the section of code defining the function __construct below does?
PHP Code:class userAuth {
// define properties
private $username;
private $passwd;
private $passwdFile;
// constructor
// must be passed username and non-encrypted password
public function __construct($username, $password) {
$this->username = $username;
$this->passwd = $password;
}







Bookmarks