Re: posix_getpwnam

From: Date: Mon, 13 Aug 2001 08:26:50 +0000
Subject: Re: posix_getpwnam
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-62383@lists.php.net to get a copy of this message
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:daniel@rezny.sk

« previous php.general (#62383) next »