The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Ok so I have a form that is pulling in through a quearystring a value for a field. This is what I have for it:
This is the code to get the referer
<input type="text" value="<%=Location%>" size="20" name="Location" readonly />
What I need to modify this is basically say if location=nothing then show na
I just can't get it right.<
This is the code to get the referer
Code:
<%
Dim Referer : Referer = Request.ServerVariables("HTTP_REFERER")
Dim Location
Select Case(InStr(Referer, "http://www.jiffylube") > 0)
Case True: Location = Mid(Referer, 21, InStr(21, Referer, ".") - 21)
Case Else:
End Select
%>
<input type="text" value="<%=Location%>" size="20" name="Location" readonly />
What I need to modify this is basically say if location=nothing then show na
I just can't get it right.<