我的天空(I Like the feeling)

导航

2008年4月14日 #

javascript获取地址栏信息(收集)

摘要: 对于这样一个URLhttp://www.microsoft.com:80/fisker/post/0703/window.location.html?ver=1.0&id=6#imhere我们可以用javascript获得其中的各个部分1, window.location.href整个URl字符串(在浏览器中就是完整的地址栏)本例返回值: http://www.microsoft.com:... 阅读全文

posted @ 2008-04-14 16:03 TBLANK 阅读(387) 评论(0) 推荐(0) 编辑

获取

摘要: 以下几种方法可以获得服务器端和客户端的IP地址和计算机名1.   获取服务器电脑名:Page.Server.ManchineName  获取用户信息:Page.User  获取客户端电脑名:Page.Request.UserHostName  获取客户端电脑IP:Page.Request.UserHostAddress2.   获取当前电脑名:static System.Net.Dns.GetHo... 阅读全文

posted @ 2008-04-14 15:51 TBLANK 阅读(232) 评论(0) 推荐(0) 编辑