php xxs攻击,过滤

1.get数字过滤

is_numeric('id'),empty('id')

2.post字符串过滤

转义字符串,预编译机制

posted @ 2018-11-26 09:14  星云惊蛰  阅读(177)  评论(0)    收藏  举报