RE: newbie: php/mysql

From: Date: Mon, 28 Oct 2002 09:31:02 +0000
Subject: RE: newbie: php/mysql
Groups: php.general 
Request: Send a blank email to php-general+get-121660@lists.php.net to get a copy of this message
the best way to do password validation is using one way encryption (e.g. MySQL PASSWORD() function). That way you check the encrypted user entered password against the database ... " ... WHERE pass = PASSWORD('{$_POST["password"]}')" Tim Ward www.chessish.com > -----Original Message----- > From: Mr. BuNgL3 [mailto:mrbungle@netcabo.pt] > Sent: 27 October 2002 10:51 > To: php-general@lists.php.net > Subject: newbie: php/mysql > > > Hey... > I have a little problem... i want to read an encrypted field > from mysql > database to a php variable... what is the code line that i > must enter? (ex: > password validation in a login form) > Thanks... > > >

« previous php.general (#121660) next »