Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/11/2011, 10:56
LiveTechno
 
Fecha de Ingreso: junio-2011
Ubicación: Barcelona
Mensajes: 212
Antigüedad: 12 años, 11 meses
Puntos: 17
Respuesta: SQL Injection y XSS

Sencillo usa o htmlentities($_GET["valor"]) o POST, o sino usa mysql_real_escape_string para evitar SQL Inyeccion, htmlentities evita xss, sql, rfi, lfi etc.

Para el uso del real escape string revisa: http://php.net/manual/es/function.my...ape-string.php

Un saludo-
__________________
Twitter: @ed33x