MAX_STRLEN) { $name = substr($name, 0, MAX_STRLEN); } return $name; } ?>