Hi I ve a little script to validate a user using an Apache htpasswd file. I want to know how could/should I generate a crypted hash (with crypt or md5) with the entered password to match the password in the htpasswd file. I know how to use md5 or crypt functions but passing them entered password as a parameter, returned result dont match with the one in htpasswd file. Thanks in advance J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php