Apr 5, 2002 #1 sjnb Technical User Jun 13, 2001 4 GB Hi all I need to pickup and format an ip address that will be passed to another asp page can anybody help? Sjnb
Hi all I need to pickup and format an ip address that will be passed to another asp page can anybody help? Sjnb
Apr 5, 2002 #2 sweevo Programmer Jan 30, 2002 182 GB Where are you getting the IP address from and how do you want to format it? You can use server.variables("Local_Addr" or server.variables("Remote_Addr" to get the IP from the server and client respectively. Upvote 0 Downvote
Where are you getting the IP address from and how do you want to format it? You can use server.variables("Local_Addr" or server.variables("Remote_Addr" to get the IP from the server and client respectively.
Apr 5, 2002 Thread starter #3 sjnb Technical User Jun 13, 2001 4 GB The ip address will be a static ip off a large lan, the formating will involve hexing the ip and suffixing it with "-1" Sjnb Upvote 0 Downvote
The ip address will be a static ip off a large lan, the formating will involve hexing the ip and suffixing it with "-1" Sjnb
Apr 5, 2002 #4 sweevo Programmer Jan 30, 2002 182 GB Try something like: function FormatIP(IP) FormatIP = hex(replace(IP, ".", "") & "-1" end function Upvote 0 Downvote
Try something like: function FormatIP(IP) FormatIP = hex(replace(IP, ".", "") & "-1" end function