检测email地址是否合法

if (!eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$",$email))

Published At
Categories with Web编程
comments powered by Disqus