Home > Backend Development > PHP Tutorial > Simple JS to get browser IP code

Simple JS to get browser IP code

巴扎黑
Release: 2016-11-29 11:37:46
Original
1512 people have browsed it

<script src="http://fw.qq.com/ipaddress" charset="gb2312"></script>
<script src="http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js" charset="gb2312"></script>
<script>
for(i in IPData){
if(i != 1) {
alert(IPData[i]);
}
}
</script>
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template