[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: userPassword in PHP



Em Qua 18 Dez 2002 13:23, Kervin L. Pierre escreveu:
> $entry['userpassword'] ="{md5}".base64_encode(pack("H*",md5($newpass)));
> 
> I always seem to have trouble with this myself.

Really, that is it. I think that strange because if I wanna use {CRYPT}, I 
don't need to use base64_encode() and pack(). But it worked ok.

Thanks so much.

-- 
MARLON DUTRA
Debian-RS
http://people.debian-rs.org/~marlon/
ICQ: 2795383
GnuPG ID: 3E2060AC pgp.mit.edu