Archer_vsgoto

导航

 

2013年1月16日

摘要: 1 /** 2 获取IP信息 归属地 ISP 3 */ 4 IPInfo = function(ip, callback) 5 { 6 this.http = require('http'); 7 } 8 9 IPInfo.prototype.log = function(str)10 {11 console.log(str);12 }13 14 IPInfo.prototype.GetUrl = function(ip)15 {16 var url = '/iplookup/iplookup.php?format=json&ip=' + ip;17 r 阅读全文
posted @ 2013-01-16 17:53 Archer_vsgoto 阅读(833) 评论(0) 推荐(0)