SteveH
01-26-2008, 04:05 PM
Hello
I would like to capture a site visitor's IP address and in a normal Web page I would use something like the following:
<%
Dim UserIPAddress
UserIPAddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If UserIPAddress = "" Then
UserIPAddress = Request.ServerVariables("REMOTE_ADDR")
End If
%>
I think I can use the same script in a Flash site, but what would I need to do in my FLA file? I do not want to show the IP address in my movie - only to 'capture' it.
Many thanks.
Steve
I would like to capture a site visitor's IP address and in a normal Web page I would use something like the following:
<%
Dim UserIPAddress
UserIPAddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If UserIPAddress = "" Then
UserIPAddress = Request.ServerVariables("REMOTE_ADDR")
End If
%>
I think I can use the same script in a Flash site, but what would I need to do in my FLA file? I do not want to show the IP address in my movie - only to 'capture' it.
Many thanks.
Steve