Andrej Dragicevic writes:
> Here is a sample.
>
> $pwd = "\$1\$LObTh\$LcOWUS4U6glAr2vB4oycr0"; // this is the vpopmail
> password
> $decrypted = "test";
>
> if ( crypt($decrypted, "\$1\$LObTh\$") == $pwd)
> echo "success!";
> else
> echo "failure!";
> ?>
That approach works but
Hmm what happens if you give 098f6bcd4621d373cade4e832627b4f6 as salt? and
test with the password from vpopmail (the users decrypted password) ?
Evren
On Mon, 25 Aug 2003, Andrej Dragicevic wrote:
> Here is a sample.
>
> $pwd = "\$1\$LObTh\$LcOWUS4U6glAr2vB4oycr0"; // this is the vpopmail
> pas