Forum Moderators: coopster
A friend from another forum suggested
that the most useful functions are stripslashes(), addslashes(), strip_tags(), htmlspecialchars(), and mysql_real_escape_string(). Type specific functions can also be useful: intval(), floatval(), etc. And for complex validations, preg_replace() and preg_match().
Anything else I might need to look up?
Thanx
Have you done a search over this site on PHP security and form validation? There has been quite a bit more discussion lately regarding the topic as many feel as you do.
This recent thread on form validation [webmasterworld.com] and the link provided by jatar_k should get you started off right.