PHP security what is really necessary
I was searching a bit and I found a line like this, in PHP;
$mots =
mysql_real_escape_string(stripslashes(strip_tags(htmlspecialchars($_POST['mots']))));
I was wondering how much of this was really necessary to protect a $_POST
entry as good as possible.
Thanks
No comments:
Post a Comment