php验证输入字符串中含有非法字符
摘要:
$pattern = "/(&|"|<|>|')+/"; preg_match($pattern, $media_name, $matches); var_dump($matches,$media_name); exit(); if($matches){ printJs 阅读全文
posted @ 2013-07-23 17:27 andydaopeng 阅读(2344) 评论(0) 推荐(0) 编辑