子字符串 php检测字符串是否包含指定的子字符串
php检测字符串是否包含指定的子字符串 [代码片段(7行)]
<?php if (strpos($_POST['email'], '@') === false) { print 'There was no @ in the e-mail address!'; } ?>
- 上一篇:php 分页类二
- 下一篇:伪造ip 针对限制ip的投票网站作弊方案
精彩图集
精彩文章
<?php if (strpos($_POST['email'], '@') === false) { print 'There was no @ in the e-mail address!'; } ?>
@CopyRight 2002-2008, 1SOHU.COM, Inc. All Rights Reserved QQ:1010969229