Hello Tomáš,
Monday, August 13, 2001, 10:23:16 AM, you wrote:
TK> Hi,
TK> I`m using function posix_getpwnam. Its works correctly. But The result for
TK> param passwd is only "x". I know why is it. Because i have save unix users
TK> passwords in shadow file,not in passwd file, there is only "x".
TK> Is there some function,which param is encrypted(MD5) password in PHP?
TK> I need: User puts password,and I will compare these password with password
TK> in shadow?
TK> Thank you very much
TK> Tomas
You can use function md5() and than you can compare users password in
passwd file with password submited to form.
I hope it helps
--
Best regards,
Daniel mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]