Added XSS prevention

This commit is contained in:
root 2008-11-24 20:49:26 +00:00
parent ee75a14ac4
commit 5f25780550

View file

@ -27,12 +27,12 @@
$query= mysql_query($sql);
if(mysql_num_rows($query) != 1)
{
echo "NOT FOUND: $sql";
echo "NOT FOUND: ".sanitizeHTML($sql);
}
else
{
$memid = mysql_fetch_assoc($query);
echo $memid['memid'];
echo sanitizeHTML($memid['memid']);
}
}
else