the password is not stored in the .htaccess file...
you would have to open the file that .htaccess points to...
inside that file, the password would be encrypted...
so you would have to first encrypt the password provided on the form using the same method as .htpasswd, md5? then search the users file that .htaccess points to, pick out the password, and then compare the two....
Brooks