Ver Mensaje Individual
  #5 (permalink)  
Antiguo 12/07/2005, 23:46
cyborg
 
Fecha de Ingreso: febrero-2004
Ubicación: España. Madrid
Mensajes: 454
Antigüedad: 20 años, 1 mes
Puntos: 0
debo estar muy torpe.... mira el enlace de htmlentities y no entiendo nada.......
ni con los ejemplos que pone la gente me hago una idea..
y mas pq pone:

Descripción
string htmlentities ( string cadena )


y en los ejemplos:

<? // added: plus, comma, and tilde - for home dirs and query strings
$pattern = '<([a-zA-Z0-9\.\, "\'_\/\-\+~=;:\(\)?&#%![\]@]+)>'
...
// also, I found the htmlentities call was more useful with UTF-8 output
$textMatches [$key] = htmlentities ($value,ENT_COMPAT,'UTF-8'); ?>

3 parametros??

alguien tiene algun codigo mas fácil de ver?

saludos