Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/11/2010, 16:22
Grox
 
Fecha de Ingreso: mayo-2008
Mensajes: 82
Antigüedad: 16 años
Puntos: 3
Proteger contra Inyeccion SQL

Hola, he protegido de la siguiente manera:

Código PHP:
$usuario mysql_real_escape_string($_GET['u']);

$result mysql_query("select * from $tableusuarios where usuario = '$usuario'"$link);

while (
$row mysql_fetch_assoc($result)){

$passwd $row["passwd"];


Esta bien, o aun asi es vulnerable?