I have a post form for a submission i have limited it to 160 characters

how would i ensure when the submit.php gets the post information that it's limited to 160 characters