Joshua Posted November 17, 2009 Posted November 17, 2009 If i put something along the lines of function html_array($r = false) { if (!(($r) || is_array($r))) { return false; } $ret = array(); foreach ($r as $key=>$val) { $ret[$key] = htmlentities($val,ENT_QUOTES); } return $ret; } in global_func then use html_array for all output and mres for all input on all my scripts that required it, Would this be a huge step to security if i took the time out to do it? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.