
alex jahns - 2007-03-09 21:31:09
<?
public function setPassword($password=false){
if($this->rarpasswords=="") $save=false;
else $save=true;
$this->more=0;
$this->space=0;
if ($password===true) $this->password="-hp\"".$this->genPass($save)."\"";
elseif($password!=false) $this->password="-hp\"".$password."\"";
}
?>
setPassword(); will set no password
setPassword(true); will set random password
setPassword("any text"); will set password to any text
at the moment it's not possible to use AUTO as password