validated.php

validate input rules