Hi Bobby,
> In my code I am trying to send an email (containing a password)
> to a user when he has forgotten his password.
[...]
> The problem is that security leads to needing to encrypt
> passwords in the database. Im using the password function
> within mysql. Is there any way of reversing the
in my code I am trying to send an email (containing a password) to a user
when he has forgotten his password.
The problem is that security leads to needing to encrypt passwords in the
database. Im using the password function within mysql. Is there any way of
reversing the password function() t
try this.
username = @$GLOBALS['username'];
$this->passwd = @$GLOBALS['passwd'];
$this->username = strtoupper($this->username);
$this->passwd = strtoupper($this->passwd);
if ($this->passwd == 'MYPASS' AND $this->username == 'RONALD')
return 1;
else
return 0;
}
}
echo
3 matches
Mail list logo