Re: [PHP] Matching logins to an old htpasswd file

2007-03-03 Thread Holger Blasum
Hello Ryan, On 03-03, Ryan A wrote: > test:dGRkPurkuWmW2 (test:test) > test1:dGlAW3zdxeAG2 (test1:test1) $php -r "print crypt('test',base64_encode('test'));"; -> dGRkPurkuWmW2 $php -r "print crypt('test1',base64_encode('test1'));"; -> dGlAW3zdxeAG2 So compare the password string with the output

[PHP] Matching logins to an old htpasswd file

2007-03-03 Thread Ryan A
Hey, I have a old htpasswd file with a lot of logins in this format: test:dGRkPurkuWmW2 (test:test) test1:dGlAW3zdxeAG2 (test1:test1) now I have a login form what takes a POST "user" and a POST "pw"... but if you look at my above first example login.. the username and pass are "test:test" but i