Question : crypt() function ?

There is a crypt() function in unix.
So, is there a decrypt() function ?
If no, how unix know I have entered the right password ?
I have a password protected page and I would like to use
crypt() function to encrypt the password, but if there is
not decrypt(), how can I know the user's password is right ?
I don't want to use human-readable password file.

Answer : crypt() function ?

No decrypt(), as crypt() encode and decode, you can view the samples on http://www.cgi-resources.com/Programs_and_Scripts/Perl/Password_Protection/
Mike
Random Solutions  
 
programming4us programming4us