Data cleaning and validation code

Did the phone number code ,its under validate.php .used strlen to
establish the correct numbers from the ones that don't fit the number
desc.