Re: MySQL Password Function
| From: | Shaun | Date: | Thu, 06 Nov 2003 15:56:16 +0000 |
| Subject: | Re: MySQL Password Function | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168741@lists.php.net to get a copy of this message | ||
"John Nichel" <jnichel@by-tor.com> wrote in message
news:3FAA6EB1.4040508@by-tor.com...
> 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
Thank you for your replies,
can i just confirm that the user uses the encrypted version of the password
or the originally inserted version to login?
Thanks for your help