Hi,
i restart a post that start on the same forum with olaf on november 2003
http://www.phpbuilder.com/board/showthread.php?threadid=10259211
When you use PHP, to create the file .htpasswd and crypt your password with the crypt function, it doesn't use the same algorithm (MD5 under windows) like "htpasswd.exe"
Eg:
If I crypt the password "Mypwd" for the user admin
htpasswd.exe -n -b admin MyPwd
Automatically using MD5 format on Windows.
admin:$apr1$B5/.....$STWipQ3db3mx5yzyPUuN01
From the crypt function in PHP, I obtain
$1$pR0.8A0.$ZX5QLoVk9xbNtQ/ljY8rn0 for the same password.
Does anyone solves this problem ?
Thanks
Christopher