Re: MySQL Password Function

From: Date: Thu, 06 Nov 2003 15:54:25 +0000
Subject: Re: MySQL Password Function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-168740@lists.php.net to get a copy of this message
Shaun wrote:
Hi, I am trying to make my site more secure, can anyone suggest a tutorial on using the mySQL password function with PHP. I can't find anything through google... Thanks for your help
Not that this would make your site more secure (well, I guess it would be more secure than plain text), but just use it in your query.... INSERT INTO someDB.someTable ( username, password ) VALUES ( '{$username}', PASSWORD('{$password}'); -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#168740) next »