Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/01/2007, 11:48
Avatar de xyyy7
xyyy7
 
Fecha de Ingreso: enero-2004
Ubicación: Maracay.-
Mensajes: 637
Antigüedad: 20 años, 3 meses
Puntos: 5
Re: Mi web es vulnerable a XSS. Una pequeña ayuda por favor.

Que tar si intentas con ereg

Código PHP:
if (ereg("([<]{1})([>]{1})?"$comentario)) {
echo 
"<b>No se permiten etiquetas HTMLs</b>";
return 
false;

Saludos.-
__________________
Maracay Edo Aragua - Venezuela :
Mi Favorita :
http://www.MySQL.Com