PHP Code:function waffles2($loginstring)
{
$loginstring = mysql_escape_string($loginstring);
$loginstring = stripslashes($loginstring);
$loginstring = htmlentities($loginstring);
$loginstring = htmlspecialchars($loginstring);
$loginstring = strip_tags($loginstring);
return $loginstring;
}
Just to make sure, would that work?
as I added or die("Error"); and it displayed the error.
If anybody could, I'd be greatful..
If anyone could post a securer cleaner function.





Reply With Quote


