create validator.inc.php