echo "<input type=\"text\" name=\"text\" />";
$text = $_POST['text']; $reg_exp = "#<|>#"; if(preg_match($reg_exp, $text)) exit("error");