24){ $str = substr($str,0,24); } $str = str_pad($str,24,"0"); return $str; } ?>