Sanitize (MySQL and XSS)


/ Published in: PHP
Save to your folder(s)

Just a small function to sanitize the user's input of any xss and sqli. I saw a lot of ones that didn't include htmlentities or htmlspecialchars, and were still vulnerable to persistent/reflected xss.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.