Ovo -> $secret_code.$text ili -Ovo $secret_code.' '.$text -> Je jedno te isto
Code:
function hash($text){
$string = "qwertyiopasdfghjklzxcvbnm";
return md5($text.$string);
}
$text="qwertyuiopasdfghjklzxcvbnm";
$secret_code ="0123456789";
$hashed = md5($secret_code.$text);
$hasheda = md5($secret_code.''.$text);
// Sledece dva su ista
echo $hashed."<br>";
echo $hasheda."<br>";
// Ovaj je razlicit
echo hash($secret_code.$text)
Sto mozes danas ne ostavljaj za sutra!