function Escapar($entrada) { return htmlentities(strip_tags (stripslashes($entrada)), ENT_QUOTES, 'utf-8'); }