RE: [PHP] [Newbie] Password()

2003-03-31 Thread Jon Haworth
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

Re: [PHP] [Newbie] Password()

2003-03-31 Thread Chris Hayes
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

Re: [PHP] Newbie password-check program

2001-02-20 Thread Chris Lee
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