Why do you use crypt and not md5?
> -----Ursprungligt meddelande-----
> Fr=E5n: S.ArunSrinivasan [mailto:arun@o...]
> Skickat: den 10 oktober 2002 13:59
> Till: professional php
> =C4mne: [pro_php] Crypt
>
>
> Hai,
>
> <?
> $var=3D"sample";
> $testFirst=3Dcrypt($var);
> $testLast=3Dcrypt($var);
> if($testFirst =3D=3D $testLast)
> {
> echo "ok";
> }
> ?>
>
> The above code echoes "ok" with combination of Linux 6.2, PHP
> 4.0.2 and Apache 1.3.12
>
> But in the combination of Linux 7.2, PHP 4.0.6 and Apache 1.3.20 it
> doesn't echoes ok.
>
> Could anyone specify why it's not working.
>
> Regards,
> S.Arun Srinivasan.
>
>
>
>