Reply to Re: Problems when using PASSWORD( $pass) in PHP/MySql

Your name:

Reply:


Posted by Michael Fesser on 01/10/08 11:32

..oO(Karl)

>I have a login pages with two fields. One for username and one for
>password.
>The username and password are stored in a mysql table.
>
>When I am using plain-text password. It is no problem to login.
>But when I use the PASSWORD() function, it is not possible to login at
>all.
>
>Is it because of the way I query the database?

We don't know how you query the database since you didn't post any
query. But if you use PASSWORD() to store the passwords, then of course
you also have to call PASSWORD() when you compare the user-submitted PW
with the stored one.

Micha

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация