today i had a trouble with php:
$first = sha1($_POST['first']);
$second = sha1($_POST['second']);
$third = $first.$second;
$sol = implode(file('./third/solution.txt'));
if($third == $sol){
echo "Correct";
}else{
echo "Not Correct";
}
i use echo for print $third and $sol and i see that it have the same value but $third == $sol return always false. I check for some " " or \n but there's not of that think. Has anyone answer for that? Thanks