shahab_ksh
جمعه 14 مهر 1385, 14:29 عصر
با سلام من از دستوارت زیر استفاده کردم اما هر بار IP بازدید کنندگان رو بصورت نا صحیح نشون میده
<%@ Page Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Response.Write(Request.UserHostAddress)
Response.Write(Request.ServerVariables("REMOTE_HOST"))
End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
اطلاعات من :
Windows IP Configuration
Ethernet adapter Behnam:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Internet:
Connection-specific DNS Suffix . : local
IP Address. . . . . . . . . . . . : 192.168.25.199
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.25.1
Ethernet adapter satlite:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.238.238
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
و خروجی صفحه دوبار از دو دستور مختلف این IP ها رو به هم چسپوندم و در دو هاست تست کردم خط اول در هاست اول خط دوم در هاست دوم
10.0.0.310.0.0.3
85.185.252.585.185.252.5
<%@ Page Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Response.Write(Request.UserHostAddress)
Response.Write(Request.ServerVariables("REMOTE_HOST"))
End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
اطلاعات من :
Windows IP Configuration
Ethernet adapter Behnam:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Internet:
Connection-specific DNS Suffix . : local
IP Address. . . . . . . . . . . . : 192.168.25.199
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.25.1
Ethernet adapter satlite:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.238.238
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
و خروجی صفحه دوبار از دو دستور مختلف این IP ها رو به هم چسپوندم و در دو هاست تست کردم خط اول در هاست اول خط دوم در هاست دوم
10.0.0.310.0.0.3
85.185.252.585.185.252.5