Jump to content


Photo

Functions to check & Cleanse user input


  • Please log in to reply
No replies to this topic

#1 holowugz

holowugz
  • Members
  • PipPipPip
  • Advanced Member
  • 46 posts

Posted 04 June 2006 - 09:43 PM

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?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users