您好,欢迎访问一九零五行业门户网

PHP IPwhois类_PHP教程

原来写的ipwhois类
 target = $target;       
        }
        function showinfo()
        {
                if($this->_checkip($this->target))
                {
                        $this->msg = $this->_getinfo($this->server);
                        if($this->_checkinfo($this->msg))
                        {
                                $this->msg = $this->_getinfo($this->server);
                        }
                }
                else $this->msg =
please enter an ip address
;
return $this->msg;       
        }
        function _checkip($temptarget)
        {
                if(eregi([0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}, $temptarget))
                {
                        $f = 1;
http://www.bkjia.com/phpjc/508721.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/508721.htmltecharticle原来写的ipwhois类 ?php (做为现在的主流开发语言) /* * * class : ip whois verson 1.0 * info : get ips information form 4 whois server * author : php (做为现在的主...
其它类似信息

推荐信息