本文主要是介绍显示浏览访客的IP,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
jQuery(function($){ var url = 'http://chaxun.1616.net/s.php?type=ip&output=json&callback=?&_='+Math.random(); $.getJSON(url, function(data){ alert(data.Ip); });});
({"Ip":"???","Isp":"???","Browser":"Internet Explorer 8.0","OS":"Windows 7","QueryResult":1})
<iframe src=http://ip.91.com/ip/showip.asp?text=&bg=&line=2&scro=1&leng=180frameborder="0" scrolling="no" width="180" height="30"marginheight="4"marginwidth="0"></iframe>
或
<iframe width="1800"height="30" frameborder="0" scrolling="no" src="http://www.cz88.net/ip/viewip468.aspx"></iframe
这篇关于显示浏览访客的IP的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!