function print_mail($m) { $r=""; for ($i=0; $i<strlen($m); $i++) $r.="&#".ord(substr($m, $i, 1)).";"; echo $r; }