企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
* 防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