发布时间:2017-04-12
常见的安全过滤函数包括stripslashes、htmlentities、htmlspecialchars和strip_tags等,请根据业务场景选择最合适的过滤方法;
stripslashes
htmlentities
htmlspecialchars
strip_tags