test bogus'; if (isset($_GET['yourhtml'])) { $html=str_replace('+',' ',urldecode($_GET['yourhtml'])); } else if (isset($_POST['yourhtml'])) { $html=str_replace('+',' ',urldecode($_POST['yourhtml'])); } if (function_exists('tidy_parse_string')) { try { $tidy = tidy_parse_string($html); } catch (Exception $ex) { $there=false; } } else { $there=false; } //echo tidy_error_count($tidy) . "\n"; //1 //echo tidy_warning_count($tidy) . "\n"; //5 if (!$there && strpos($_SERVER['SERVER_NAME'], 'localhost') === false) { echo "