正则表达式 if (isset(preg_match("/^[\s\@\#\%]*/isU/", $testcharacter)))各位仁兄贤弟们,帮旁瞧一下吧,谢了! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 echo(preg_match("/[\s @#%\$&\*]/is",$str)); hi, Shelly: 谢谢你的关注,我的意思是想把preg_match("/[\s @#%\$&\*]/is",$str));转成一布尔值判断输入的字符串中是否含有这些标志符把您的代码放入其中,能判断出,可我没有输入这些标志符时,它也报错:$test = $_POST['testid']; $testtest=(preg_match("/[\s @#%\$&\*]/is",$test));//preg_match("/^[\s\@\#\%]/", $PID); echo $testtest; if(isset($testtest)){ echo "<script >alert('There are maybe some specialsignalabout testid ');</script>"; echo "<script>history.back(-1);</script>"; }else....谢谢! php的socket使用 NetBeans IDE 7.1 for PHP函数提示失效了! php可以做企业内部的“信息管理系统”吗?比如生产管理,人力资源管理? 接值 IE使URL重写的会话失效 ftp搜索的问题 我输入数据库的数据后,用phpmyadmin或MySQL监视器看都是乱码. 关于phpinfo() thinkphp查询内容是否存在find和count哪个效率高些 thinkphp5 抓取数据后一直显示是空 mysql千万级查询方案 请教正则表达式提取文件中的内容?
把您的代码放入其中,能判断出,可我没有输入这些标志符时,它也报错:$test = $_POST['testid'];
$testtest=(preg_match("/[\s @#%\$&\*]/is",$test));//preg_match("/^[\s\@\#\%]/", $PID);
echo $testtest;
if(isset($testtest)){
echo "<script >alert('There are maybe some specialsignalabout testid ');</script>";
echo "<script>history.back(-1);</script>";
}
else....
谢谢!