/** * PHP检测字符串是否包含指定的子字符串 * * @param * @arrange 512-笔记网: www.jb51.cc **/ <?PHP if (strpos($_POST['email'],'@') === false) { print 'There was no @ in the e-mail address!'; } ?> /*** 来自编程之家 jb51.cc(jb51.cc) ***/