Hi - crypt () works fine for me on Win2K... > -----Original Message----- > From: Patricia Hinman [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 13, 2003 6:57 PM > To: [EMAIL PROTECTED] > Subject: crypt() unix function, what about windows cryption? .htpasswd > file > > > OOPS mistake corrected > > I did stumble across a method call to a cryption() > -------wrong crypt() is the method ------ > > I have just discovered it is a unix function. It > doesn't decrypt. One must always crypt user input then > check for equality. > if (crypt ($guess, $pass) eq $pass) { > # guess is correct > } > > I guess that means I can't use it on my Win98 box. I > was really hoping for a platform independant method. > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Shopping - Send Flowers for Valentine's Day > http://shopping.yahoo.com > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]