Commit 92ac8de5 by sopham

sanitize

parent 976462b2
Showing with 9 additions and 0 deletions
<?php
function sanitizeInputVar($link, $var) {
$var = stripslashes($var);
$var = htmlentities($var);
$var = strip_tags($var);
$var = mysqli_real_escape_string($link, $var);
return $var;
}
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment