摘要:        
?php /***@ Date 2010.12.21*@ Author 王刚*@ Email 373882774@qq.com*@ QQ 373882774*@ Blog http://hi.baidu.com/sa123abc/home注:文件头 [第一条索引的偏移量 (4byte)] + [最后一条索引的偏移地址 (4byte)] 8字节记录区 [结束ip (4byte)] + [地区1] + [地区2] 4字节+不定长索引区 [开始ip (4byte)] + [指向记录区的偏移地址 (3byte)] 7字节*/class IpLocation{var $fp;var $firstip;    阅读全文
posted @ 2010-12-21 10:05
wangang
阅读(2018)
评论(0)
推荐(0)
        
            
        
        
摘要:        
源代码是一个类IP的数据文件是从网上下载的,大家只要随便搜索下就有一大把调用方式 Response.Write(IPSearch.GetAddressWithIP("222.221.164.172"));http://www.leiyang.ccoo.cn/blog/article.asp?id=451104usingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.WebControls    阅读全文
posted @ 2010-12-21 10:03
wangang
阅读(1017)
评论(0)
推荐(1)
        
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号