私人领地

php preg_match 过滤字符

$f = preg_match("/g3watches/",$date[0]['desc']);

if ($f='1') {
$this->error(L('不好意思,输入有误'));
exit;
}

posted @ 2015-08-08 10:36  狂奔的蜗牛Snails  阅读(452)  评论(0编辑  收藏  举报