【www.gdgbn.com--页面特效】
收藏当前页面的网址asp教程代码
<%
function getip "获取ip
if request.servervariables("http_x_forwarded_for")=empty then
getip=request.servervariables("remote_addr")
else
getip=request.servervariables("http_x_forwarded_for")
end if
end functionresponse.write getip
%>
<script>
var hostname = location.hostname; //获取当前域名
var localurl = location.href; //获取当前的url地址信息
</script>
加入收藏