Jump to content

Archived

This topic is now archived and is closed to further replies.

holowugz

Functions to check & Cleanse user input

Recommended Posts

Hi,

i was just wondering which functions i should use to cleans user input, so far i have:

addslashes - (If magic quotes is not on)
htmlentities
strip_tags
htmlspecialchars
mysql_real_escape_string

---
Is there any functions i have missed or any other way of inputting malicious code that i have not accounted for, if so is there a function to remove IT?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.