Re: [PHP] MD5 Passwords? From: Alexander Wagner (wagner <email protected>)
Date: 12/20/00

Devin Atencio wrote:
> I run FreeBSD which uses MD5 passwords and I was wondering how I could have
> my php4
> script create an MD5 password that the FreeBSD system would accept. I
> notice all my
> MD5 passwords in the password file start with $1$ but when I tried like
> md5($password) it comes out very random and never starts with $1$. Does
> anyone know
> how I can do this?

crypt() might work. I heard somewhere it uses the OS-default-method. Perhaps.

regards
Wagner

-- 
If you can't learn to do something well, learn to enjoy doing it poorly.

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>