this is basically the equivelent to the str_shuffle they use
function str_shuffle($word){
for($i=0;$i<strlen($word);$i++)
$array[]=$word[$i];
shuffle($array);
for($i=0;$i<count($array);$i++)
$newstring .= $array[$i];
return
$newstring;
}
sidenote: wrote this when me and a friend were
writing some code and i realized i was using 4.3.0 and he was using 4.2.0
needless to say my code took less lines :)