So basically here's the deal - I've been working on a user creation script that uses php crypt, but I've been having some issues with comparative tests.
Any thoughts?
EDIT:
<?php
$pw = 'jason';
$pw2 = 'jason';
$p1 = crypt($pw);
$p2 = crypt($pw2);
if($p1 != $p2){
echo "oh shoot";
}else{
echo "verified";
}
?>
And this consistently replies "oh shoot" indicating that the two outputs do not match.