Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/03/2009, 18:55
grunst3r
 
Fecha de Ingreso: diciembre-2008
Ubicación: Ayacucho and Lima
Mensajes: 10
Antigüedad: 15 años, 4 meses
Puntos: 1
Respuesta: Haker rellena formulario de comentarios en mi web, como eviarlo ???

o tambien puedes usar esta funcion

htmlspecialchars

Código PHP:
<?php
$nuevo 
htmlspecialchars("<a href='test'>Test</a>"ENT_QUOTES);
echo 
$nuevo// resultado: &lt;a href='test'&gt;Test&lt;/a&gt;
?>