Re: Re[2]: [PHP] Apache htpasswd

2005-07-07 Thread Richard Lynch
On Thu, July 7, 2005 2:50 am, Javier said: > On 05/07/2005 at 14:04 sylikc wrote: >> >>For MD5 passwords though, it's a little different and not documented >>as thoroughly... >>3) Extract crypt salt from the $crypthash >>$cryptsalt = '$'.substr($crypthash,4,11); > > Thanks for your help. > >

Re[2]: [PHP] Apache htpasswd

2005-07-07 Thread Javier
On 05/07/2005 at 14:04 sylikc wrote: > > >For MD5 passwords though, it's a little different and not documented >as thoroughly... > >1) First check your constant CRYPT_MD5... if you don't have it in your >PHP, this won't work... >if (CRYPT_MD5 == 1) { echo 'PHP supports MD5-crypt'; } > >2) Assuming