Hi Folks,
This is not really a problem but I was intrested if anybody could answer my questions.
The case: md5()
I´m passing the same string e.g. "127.0.0.1" to md5().
One time via a usual call like $string=md5($string);
print $string;
Another time thru a selfmade function like
makehash($string);
function makehash($str){
$str=md5($str);
//some other stuff but not changing anything on $string.. e.g. compare against DB
print $str;
}
Usually no problem. Should not!
BUT: As you might guess: Two different hashs!!!
Anybody an idea if this is a bug, or just me not getting along with passing variables...???
TIA
FAB