Notice: Undefined variable: bid in /home/wwwroot/cczh004/wwwroot/public/class.php on line 3
搜索列表
-
PHP下ereg实现匹配ip的正则
【正则表达式】我们先看个代码片段: 复制代码 代码如下:$ip = "1.1.1.255".chr(0)."haha"; if(ereg("^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$",$ip)) { echo $ip; } else { &nbs...
PHP下ereg实现匹配ip的正则