好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

ECSHOP后台SQL查询提示错误 this sql May contain UPDATE,DELE

(! empty ( $_POST [‘sql‘ ])) { preg_match_all ("/(SELECT)/i", $_POST [‘sql‘], $matches ); if ( isset ( $matches [1]) && count ( $matches [1])>1 ) { sys_msg( "this sql more than one SELECT " ); } if ( preg_match ("/(UPDATE|DELETE|TRUNCATE|ALTER|DROP|FLUSH|INSERT|REPLACE|SET|CREATE|CONCAT)/i", $_POST [‘sql‘ ])) { sys_msg( "this sql May contain UPDATE,DELETE,TRUNCATE,ALTER,DROP,FLUSH,INSERT,REPLACE,SET,CREATE,CONCAT " ); } }

 

ECSHOP后台SQL查询提示错误 this sql May contain UPDATE,DELETE,TRUNCATE,ALTER,DROP,FLUSH,INSERT

标签:

查看更多关于ECSHOP后台SQL查询提示错误 this sql May contain UPDATE,DELE的详细内容...

  阅读:27次