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.
function IPtoNum (IPAddress)
dim aIP: set aIP = split(IPAddress,".")
if ubound(aIP) <> 3 then
IPtoNum = 0
Exit Function
end if
if isnumeric(aIP(0)) and isnumeric(aIP(1)) and isnumeric(aIP(2)) and isnumeric(aIP(3)) then
IPToNum = (cint(aIP(0))*256*256*256) + (cint(aIP(1))*256*256) + (cint(aIP(2))*256) + (cint(aIP(3))
else
IPToNum = 0
End if
end function
function IPinRange(StartIP, EndIP, TestIP)
iStart = IPtoNum(StartIP)
iEnd = IPtoNum(EndIP)
iTest = IPtoNum(TestIP)
if iStart=0 or iEnd=0 or iTest=0 then
IPinRange = false
exit function
end if
if iTest >= iStart and iTest <= iEnd then
IPinRange = true
else
IPinRange = false
end if
end function