Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
dim ip
dim host
Set DNS = CreateObject("TCPIP.DNS")
ip = Request.ServerVariables("REMOTE_ADDR")
HostName = DNS.GetHostByIP(ip)
</SCRIPT>
<%@ Language="JScript" %>
<html>
<head>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
</head>
<body>
<%
var IP = Request.ServerVariables("REMOTE_ADDR");
try {
var DNS = new ActiveXObject("TCPIP.DNS");
var ClientIP = DNS.GetHostByIP(IP);
var strResult;
}
catch (objError) {
strResult = objError + "\n"
strResult += "returned error: " +
(objError.number & 0xFFFF).toString() + "\n\n";
strResult += objError.description;
}
Response.Write(ClientIP);
%>
</body>
</html>
<%@ Language="JScript" %>
<html>
<head>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
</head>
<body>
<%
var IP = Request.ServerVariables("REMOTE_ADDR");
try {
var DNS = new ActiveXObject("TCPIP.DNS");
var ClientIP = DNS.GetIPByHost(IP);
var strResult = "";
}
catch (objError) {
strResult += objError + "\n"
strResult += "returned error: " +
(objError.number & 0xFFFF).toString() + "\n\n";
strResult += objError.description;
Response.Write(strResult);
}
Response.Write(ClientIP);
%>
</body>
</html>
[code]