"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to