完整源代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>客户端外网IP--柯乐义</title>
</head>
<body>
您的IP地址是:<span >
http://tool.keleyi.com/ip/wodeip.htm
使用方法:
一、把这个 <span ></span> 放到源代码中要显示IP地址的位置
二、然后在源代码的</body>前输入:<script type="text/javascript" src="http://tool.keleyi.com/ip/visitoriphost/"></script>
原文:http://keleyi.com/a/bjac/5ny3tgps.htm