Ver Mensaje Individual
  #7 (permalink)  
Antiguo 19/05/2004, 14:37
Avatar de Gerald
Gerald
 
Fecha de Ingreso: julio-2003
Mensajes: 1.356
Antigüedad: 20 años, 9 meses
Puntos: 2
Cita:
Mensaje Original por Cluster
Aplica:

stripslashes()
http://www.php.net/manual/en/function.stripslashes.php

Eso eliminará los \ de más que se añaden (si usas magic_quotes_gpc .. que es lo típico y va mejor).

Luego .. si quieres "hacer inofensivo" tu código para evitar que interprete HTML/javascript/etc a la hora de presentarlo puedes usar:

htmlentities()
http://www.php.net/manual/en/function.htmlentities.php

Un saludo,
Entonces intenta con htmlentities tal como dice Cluster, yo use ese sistema de noticias, pasale la funcion antes de guardar en el txt y no al mostrarlo
__________________
Solo por Hoy: Trataré de fortalecer mi mente. Estudiaré y aprenderé algo útil
Hoteldipity
Arte Caracol