多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
* 防SQL注入 | 传入参 | 说明 | | --- | --- | | type | [ 必填 ] 校对类型 (get , post , cookie) | | sql | [ 必填 ] 校对字符串 | | 回调参 | 说明 | | --- | --- | | [ bool ] | 校验结果 (1存在风险 0没有风险) | * 案例 ~~~ $back = $D_P->safe('get','aaa'); $back = $D_P->safe('get','select * from abc'); $back = $D_P->safe('post','select * from abc'); $back = $D_P->safe('cookie','select * from abc'); ~~~ >0 >1 >1 >1